Author: stepan Date: 2008-08-01 13:39:35 +0200 (Fri, 01 Aug 2008) New Revision: 3448
Modified: trunk/coreboot-v2/src/include/string.h Log: function prototypes don't need extern. (trivial)
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/coreboot-v2/src/include/string.h =================================================================== --- trunk/coreboot-v2/src/include/string.h 2008-08-01 11:38:23 UTC (rev 3447) +++ trunk/coreboot-v2/src/include/string.h 2008-08-01 11:39:35 UTC (rev 3448) @@ -4,13 +4,13 @@ #include <stddef.h> #include <stdlib.h>
-extern void *memcpy(void *dest, const void *src, size_t n); -extern void *memmove(void *dest, const void *src, size_t n); -extern void *memset(void *s, int c, size_t n); -extern int memcmp(const void *s1, const void *s2, size_t n); +void *memcpy(void *dest, const void *src, size_t n); +void *memmove(void *dest, const void *src, size_t n); +void *memset(void *s, int c, size_t n); +int memcmp(const void *s1, const void *s2, size_t n); +void *malloc(size_t size); +int sprintf(char * buf, const char *fmt, ...);
-extern int sprintf(char * buf, const char *fmt, ...); - // yes, linux has fancy ones. We don't care. This stuff gets used // hardly at all. And the pain of including those files is just too high.