diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-10-26 06:52:18 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-10-26 06:52:18 +0000 |
commit | f41a2d746d08780cac73b344c820b808e9fd3a6a (patch) | |
tree | 1b64d1ac3f15937b6690793fca247dda84abb295 /gcc/fixproto | |
parent | cf9d5f6ac4140bfd4dd845fb1dafe187ffd20495 (diff) | |
download | gcc-f41a2d746d08780cac73b344c820b808e9fd3a6a.tar.gz |
(signal.h): Add prototypes only for kill and raise.
Not for the POSIX signal functions.
(sys/resource.h): Delete special handling for this file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index fe516f700ae..e826407e9b4 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -251,8 +251,12 @@ for code in ALL STD ; do setjmp.h) required_list="longjmp setjmp siglongjmp sigsetjmp" ;; signal.h) - required_list="kill raise sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask sigsuspend" ;; # Left out signal() - its prototype is too complex for us! + # Also left out "sigaction sigaddset sigdelset sigemptyset + # sigfillset sigismember sigpending sigprocmask sigsuspend" + # because these need sigset_t or struct sigaction. + # Most systems that provide them will also declare them. + required_list="kill raise" ;; stdio.h) required_list="clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell fwrite getc getchar gets perror printf putc putchar puts remove rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ungetc vfprintf vprintf vsprintf" if grep _flsbuf <$abs_source_file >/dev/null ; then @@ -271,8 +275,6 @@ for code in ALL STD ; do sys/times.h) required_list="times" ;; # "sys/types.h" add types (not in old g++-include) - sys/resource.h) - required_list="getrusage getrlimit setrlimit getpriority setpriority" ;; sys/utsname.h) required_list="uname" ;; sys/wait.h) |