diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-02-09 00:30:01 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-02-09 00:30:01 +0000 |
commit | 7268c859d3c7095ae693c51956f0b955d5900a20 (patch) | |
tree | 8cce1f81d8fe4fb7138af75adbb287166a650dc1 /gcc/fixproto | |
parent | 652b20cf18a0952e6300581482f9448e5656c5c2 (diff) | |
download | gcc-7268c859d3c7095ae693c51956f0b955d5900a20.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index 67241eaead1..6f7d701868c 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 |