summaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-06 01:34:55 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-06 01:34:55 +0000
commit87dacda5f10c24fa486c93c47319207a07d83b7e (patch)
tree448054c5e26cbe757e7272c3385e14db69d359f5 /gcc/fixproto
parent882b206d36bb1261887579da73f5ed316b269dea (diff)
downloadgcc-87dacda5f10c24fa486c93c47319207a07d83b7e.tar.gz
(stdio.h): Don't add protos for vprintf, vfprintf, vsprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6019 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 23052a20713..5018a4642f3 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