]> gcc.gnu.org Git - gcc.git/commitdiff
Add popen and pclose to required list for stdio.h.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 9 Feb 1994 00:30:01 +0000 (19:30 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 9 Feb 1994 00:30:01 +0000 (19:30 -0500)
Add putenv to required list for stdlib.h.
Add getopt to required list for unistd.h.

From-SVN: r6510

gcc/fixproto

index 67241eaead122cfcc26e33ccb3e06650606e8fb1..6f7d701868c112bf99f42a79cc0d7a1f45c6e8c3 100755 (executable)
@@ -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
This page took 0.065012 seconds and 5 git commands to generate.