Fix thinko in last change to toplev.h (fnotice).
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 30 Jan 1999 21:26:52 +0000 (21:26 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 30 Jan 1999 21:26:52 +0000 (21:26 +0000)
        Wrap prototype with BUFSIZ to protect FILE* usage.

From-SVN: r24932

gcc/ChangeLog
gcc/toplev.h

index a84191fc0fcde2a509c394fdb12ce8be8cfba656..6f45870f31277c9dd5789f1e5b83e2baf90f57f1 100644 (file)
@@ -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.
index a9b6c532364807bad6888108349fe3b77fd5a07c..1622a64662bcc7bf3a1c07628b789b13184c41c0 100644 (file)
@@ -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 */