Patch from Jonathan Larmour.

* fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI.

From-SVN: r80639
This commit is contained in:
Jonathan Larmour 2004-04-13 06:04:05 +00:00 committed by Jim Wilson
parent 935a6e4659
commit f778cbf091
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-04-12 Jonathan Larmour <jifl@eCosCentric.com>
* fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI.
2004-04-12 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (output_387_reg_move): New function.

View File

@ -275,7 +275,8 @@ tan\0tanh\0" },
sigfillset sigismember sigpending sigprocmask sigsuspend"
because these need sigset_t or struct sigaction.
Most systems that provide them will also declare them. */
{ "signal.h", ANSI_SYMBOL, "kill\0raise\0" },
{ "signal.h", ANSI_SYMBOL, "raise\0" },
{ CONTINUED, POSIX1_SYMBOL, "kill\0" },
{ "stdio.h", ANSI_SYMBOL,
"clearerr\0fclose\0feof\0ferror\0fflush\0fgetc\0fgetpos\0\
@ -294,9 +295,10 @@ tmpnam\0ungetc\0" },
Should perhaps also add NULL */
{ "stdlib.h", ANSI_SYMBOL,
"abort\0abs\0atexit\0atof\0atoi\0atol\0bsearch\0calloc\0\
exit\0free\0getenv\0labs\0malloc\0putenv\0qsort\0rand\0realloc\0\
exit\0free\0getenv\0labs\0malloc\0qsort\0rand\0realloc\0\
srand\0strtod\0strtol\0strtoul\0system\0" },
{ CONTINUED, ANSI_SYMBOL|MACRO_SYMBOL, "EXIT_FAILURE\0EXIT_SUCCESS\0" },
{ CONTINUED, POSIX1_SYMBOL, "putenv\0" },
{ "string.h", ANSI_SYMBOL, "memchr\0memcmp\0memcpy\0memmove\0memset\0\
strcat\0strchr\0strcmp\0strcoll\0strcpy\0strcspn\0strerror\0\
@ -345,7 +347,8 @@ WTERMSIG\0WNOHANG\0WNOTRACED\0" },
"cfgetispeed\0cfgetospeed\0cfsetispeed\0cfsetospeed\0tcdrain\0tcflow\0tcflush\0tcgetattr\0tcsendbreak\0tcsetattr\0" },
{ "time.h", ANSI_SYMBOL,
"asctime\0clock\0ctime\0difftime\0gmtime\0localtime\0mktime\0strftime\0time\0tzset\0" },
"asctime\0clock\0ctime\0difftime\0gmtime\0localtime\0mktime\0strftime\0time\0" },
{ CONTINUED, POSIX1_SYMBOL, "tzset\0" },
{ "unistd.h", POSIX1_SYMBOL,
"_exit\0access\0alarm\0chdir\0chown\0close\0ctermid\0cuserid\0\