aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-01-30 21:26:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-01-30 21:26:52 +0000
commitfa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34 (patch)
tree17cb6ba88950c7ff59c0018724f2906dcc170074
parent644f3d7ef0263ce38b13ff627acd8889741a7610 (diff)
downloadgcc-fa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34.zip
gcc-fa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34.tar.gz
gcc-fa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34.tar.bz2
Fix thinko in last change to toplev.h (fnotice).
Wrap prototype with BUFSIZ to protect FILE* usage. From-SVN: r24932
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/toplev.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a84191f..6f45870 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,7 +7,8 @@ Sat Jan 30 23:14:13 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.c (fnotice): Constify char* parameter.
* toplev.h (fnotice): Add prototype.
-
+ Wrap prototype with BUFSIZ to protect FILE* usage.
+
Sun Jan 31 15:33:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs.
diff --git a/gcc/toplev.h b/gcc/toplev.h
index a9b6c53..1622a64 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -102,7 +102,9 @@ extern void do_abort PROTO ((void)) ATTRIBUTE_NORETURN;
extern void botch PROTO ((const char *))
ATTRIBUTE_NORETURN;
+#ifdef BUFSIZ
extern void fnotice PROTO ((FILE *, const char *, ...))
ATTRIBUTE_PRINTF_2;
+#endif
#endif /* __GCC_TOPLEV_H */