From: Kaveh R. Ghazi Date: Sat, 30 Jan 1999 21:26:52 +0000 (+0000) Subject: Fix thinko in last change to toplev.h (fnotice). X-Git-Tag: prereleases/libgcj-0.1~1116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34;p=thirdparty%2Fgcc.git Fix thinko in last change to toplev.h (fnotice). Wrap prototype with BUFSIZ to protect FILE* usage. From-SVN: r24932 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a84191fc0fcd..6f45870f3127 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,7 +7,8 @@ Sat Jan 30 23:14:13 1999 Kaveh R. Ghazi * 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 * config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs. diff --git a/gcc/toplev.h b/gcc/toplev.h index a9b6c5323648..1622a64662bc 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 */