Commit f778cbf0 by Jonathan Larmour Committed by Jim Wilson

Patch from Jonathan Larmour.

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

From-SVN: r80639
parent 935a6e46
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> 2004-04-12 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (output_387_reg_move): New function. * config/i386/i386.c (output_387_reg_move): New function.
......
...@@ -275,7 +275,8 @@ tan\0tanh\0" }, ...@@ -275,7 +275,8 @@ tan\0tanh\0" },
sigfillset sigismember sigpending sigprocmask sigsuspend" sigfillset sigismember sigpending sigprocmask sigsuspend"
because these need sigset_t or struct sigaction. because these need sigset_t or struct sigaction.
Most systems that provide them will also declare them. */ 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, { "stdio.h", ANSI_SYMBOL,
"clearerr\0fclose\0feof\0ferror\0fflush\0fgetc\0fgetpos\0\ "clearerr\0fclose\0feof\0ferror\0fflush\0fgetc\0fgetpos\0\
...@@ -294,9 +295,10 @@ tmpnam\0ungetc\0" }, ...@@ -294,9 +295,10 @@ tmpnam\0ungetc\0" },
Should perhaps also add NULL */ Should perhaps also add NULL */
{ "stdlib.h", ANSI_SYMBOL, { "stdlib.h", ANSI_SYMBOL,
"abort\0abs\0atexit\0atof\0atoi\0atol\0bsearch\0calloc\0\ "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" }, srand\0strtod\0strtol\0strtoul\0system\0" },
{ CONTINUED, ANSI_SYMBOL|MACRO_SYMBOL, "EXIT_FAILURE\0EXIT_SUCCESS\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\ { "string.h", ANSI_SYMBOL, "memchr\0memcmp\0memcpy\0memmove\0memset\0\
strcat\0strchr\0strcmp\0strcoll\0strcpy\0strcspn\0strerror\0\ strcat\0strchr\0strcmp\0strcoll\0strcpy\0strcspn\0strerror\0\
...@@ -345,7 +347,8 @@ WTERMSIG\0WNOHANG\0WNOTRACED\0" }, ...@@ -345,7 +347,8 @@ WTERMSIG\0WNOHANG\0WNOTRACED\0" },
"cfgetispeed\0cfgetospeed\0cfsetispeed\0cfsetospeed\0tcdrain\0tcflow\0tcflush\0tcgetattr\0tcsendbreak\0tcsetattr\0" }, "cfgetispeed\0cfgetospeed\0cfsetispeed\0cfsetospeed\0tcdrain\0tcflow\0tcflush\0tcgetattr\0tcsendbreak\0tcsetattr\0" },
{ "time.h", ANSI_SYMBOL, { "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, { "unistd.h", POSIX1_SYMBOL,
"_exit\0access\0alarm\0chdir\0chown\0close\0ctermid\0cuserid\0\ "_exit\0access\0alarm\0chdir\0chown\0close\0ctermid\0cuserid\0\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment