aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-26 06:52:18 +0000
committerRichard Stallman <rms@gnu.org>1993-10-26 06:52:18 +0000
commitfc51af1af8567e1c324e3dd62327b39dee6d1d30 (patch)
tree1b64d1ac3f15937b6690793fca247dda84abb295
parente700c8ecce6471bb5fce4be69d49c8e1df0366d6 (diff)
downloadgcc-fc51af1af8567e1c324e3dd62327b39dee6d1d30.zip
gcc-fc51af1af8567e1c324e3dd62327b39dee6d1d30.tar.gz
gcc-fc51af1af8567e1c324e3dd62327b39dee6d1d30.tar.bz2
(signal.h): Add prototypes only for kill and raise.
Not for the POSIX signal functions. (sys/resource.h): Delete special handling for this file. From-SVN: r5892
-rwxr-xr-xgcc/fixproto8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index fe516f7..e826407 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)