diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/bootloader/lib.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/bootloader/lib.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/lib.c b/c/src/lib/libbsp/powerpc/shared/bootloader/lib.c index e4de17dde2..a414c486a9 100644 --- a/c/src/lib/libbsp/powerpc/shared/bootloader/lib.c +++ b/c/src/lib/libbsp/powerpc/shared/bootloader/lib.c @@ -5,14 +5,26 @@ * from newlib or rtems because they are not compiled with the right option!!! * * You've been warned!!!. - * - * CopyRight (C) 1998, 1999 valette@crf.canon.fr + */ + +/* + * Copyright (C) 1998, 1999 valette@crf.canon.fr * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE. */ + +/* + * Provide our own prototypes to avoid warnings and risk getting inlined + * conflicts from the normal header files. + */ +void* memset(void *p, int c, unsigned int n); +void* memcpy(void *dst, const void * src, unsigned int n); +char* strcat(char * dest, const char * src); +int strlen(const char* string); + void* memset(void *p, int c, unsigned int n) { char *q =p; |