aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-06 01:34:55 +0000
committerRichard Stallman <rms@gnu.org>1993-11-06 01:34:55 +0000
commit328070bb4fb73f9718e52b08183eb8bf42a92c70 (patch)
tree448054c5e26cbe757e7272c3385e14db69d359f5
parent6f45095de2c66d4a7455714394bb162ffea22ee3 (diff)
downloadgcc-328070bb4fb73f9718e52b08183eb8bf42a92c70.zip
gcc-328070bb4fb73f9718e52b08183eb8bf42a92c70.tar.gz
gcc-328070bb4fb73f9718e52b08183eb8bf42a92c70.tar.bz2
(stdio.h): Don't add protos for vprintf, vfprintf, vsprintf.
From-SVN: r6019
-rwxr-xr-xgcc/fixproto5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 23052a2..5018a46 100755
--- a/gcc/fixproto
+++ b/gcc/fixproto
@@ -267,7 +267,10 @@ 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 tmpfile tmpnam ungetc vfprintf vprintf vsprintf"
+ # Omitted vfprintf, vprintf, vsprintf because it's hard
+ # to specify the right data type, and because not all systems
+ # have them.
+ 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"
if grep '[^_a-zA-Z0-9]_flsbuf' <$abs_source_file >/dev/null; then
required_list="$required_list _flsbuf _filbuf"
fi