From: bernhardheld Date: Mon, 24 Feb 2003 20:44:45 +0000 (+0000) Subject: * device/include/ctype.h: removed warning while using --stack-auto X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=0e012c194423bb0ee12622ef1d3690d705d84fa0;p=fw%2Fsdcc * device/include/ctype.h: removed warning while using --stack-auto * device/include/malloc.h: removed warning while using --stack-auto * device/include/string.h: removed warning while using --stack-auto git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2307 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index bf05822e..2f4d7bba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-24 Bernhard Held + + * device/include/ctype.h: removed warning while using --stack-auto + * device/include/malloc.h: removed warning while using --stack-auto + * device/include/string.h: removed warning while using --stack-auto + 2003-02-23 Borut Razem * src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC, diff --git a/device/include/ctype.h b/device/include/ctype.h index 851d8453..f30bf8d9 100644 --- a/device/include/ctype.h +++ b/device/include/ctype.h @@ -35,7 +35,6 @@ #include #ifdef SDCC_STACK_AUTO -/* #warning Make sure you recompile _is*.c files as 'reentrant' */ extern char iscntrl (unsigned char ) _REENTRANT ; extern char isdigit (unsigned char ) _REENTRANT ; diff --git a/device/include/malloc.h b/device/include/malloc.h index 261e56c1..4a1a00ac 100644 --- a/device/include/malloc.h +++ b/device/include/malloc.h @@ -47,7 +47,6 @@ MEMHEADER }; #ifdef SDCC_STACK_AUTO -#warning Make sure you recompile malloc.c as 'reentrant' extern void init_dynamic_memory(MEMHEADER xdata * , unsigned int ) reentrant; extern void xdata * malloc (unsigned int ) reentrant; diff --git a/device/include/string.h b/device/include/string.h index 5909896e..9e0da877 100644 --- a/device/include/string.h +++ b/device/include/string.h @@ -37,9 +37,6 @@ #define memmove memcpy #ifdef SDCC_STACK_AUTO -#ifdef SDCC_mcs51 -#warning Make sure you recompiled _str*.c and _mem*.c library functions as 'reentrant' -#endif extern char *strcpy (char *, char *) reentrant ; extern char *strncpy(char *, char *,int ) reentrant ;