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 */