aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-02-08 19:30:01 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-02-08 19:30:01 -0500
commitb9b63425c6db79f9e93990d8b17d22d40bbcd018 (patch)
tree8cce1f81d8fe4fb7138af75adbb287166a650dc1 /gcc/fixproto
parentea9182cd373ffd342711039b36695ca0c1a47bd9 (diff)
downloadgcc-b9b63425c6db79f9e93990d8b17d22d40bbcd018.zip
gcc-b9b63425c6db79f9e93990d8b17d22d40bbcd018.tar.gz
gcc-b9b63425c6db79f9e93990d8b17d22d40bbcd018.tar.bz2
Add popen and pclose to required list for stdio.h.
Add putenv to required list for stdlib.h. Add getopt to required list for unistd.h. From-SVN: r6510
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 67241ea..6f7d701 100755
--- a/gcc/fixproto
+++ b/gcc/fixproto
@@ -110,12 +110,12 @@ if [ `echo $* | wc -w` != 0 ] ; then
done
fi
-required_stdlib_h="abort abs atexit atof atoi atol bsearch calloc exit free getenv labs malloc qsort rand realloc srand strtod strtol strtoul system"
+required_stdlib_h="abort abs atexit atof atoi atol bsearch calloc exit free getenv labs malloc putenv qsort rand realloc srand strtod strtol strtoul system"
# "div ldiv", - ignored because these depend on div_t, ldiv_t
# ignore these: "mblen mbstowcs mbstowc wcstombs wctomb"
# Left out getgroups, because SunOS4 has incompatible BSD and SVR4 versions.
# Should perhaps also add NULL
-required_unistd_h="_exit access alarm chdir chown close ctermid cuserid dup dup2 execl execle execlp execv execve execvp fork fpathconf getcwd getegid geteuid getgid getlogin getpgrp getpid getppid getuid isatty link lseek pathconf pause pipe read rmdir setgid setpgid setsid setuid sleep sysconf tcgetpgrp tcsetpgrp ttyname unlink write"
+required_unistd_h="_exit access alarm chdir chown close ctermid cuserid dup dup2 execl execle execlp execv execve execvp fork fpathconf getcwd getegid geteuid getgid getlogin getopt getpgrp getpid getppid getuid isatty link lseek pathconf pause pipe read rmdir setgid setpgid setsid setuid sleep sysconf tcgetpgrp tcsetpgrp ttyname unlink write"
done_dirs=""
echo "" >fixproto.list
@@ -278,7 +278,7 @@ for code in ALL STD ; do
# 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 vprintf vsprintf vfprintf tmpfile tmpnam ungetc"
+ required_list="clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell fwrite getc getchar gets pclose perror popen printf putc putchar puts remove rename rewind scanf setbuf setvbuf sprintf sscanf vprintf vsprintf vfprintf tmpfile tmpnam ungetc"
if grep '[^_a-zA-Z0-9]_flsbuf' <$abs_source_file >/dev/null; then
required_list="$required_list _flsbuf _filbuf"
fi