From fa6ac85e4b63110ad222bf3a1cac08ea9cfc0f34 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 30 Jan 1999 21:26:52 +0000 Subject: [PATCH] Fix thinko in last change to toplev.h (fnotice). Wrap prototype with BUFSIZ to protect FILE* usage. From-SVN: r24932 --- gcc/ChangeLog | 3 ++- gcc/toplev.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 * 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 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 */ -- 2.7.4