mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +00:00
Assume prototypes.
This commit is contained in:
@@ -25,8 +25,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __STDC__
|
|
||||||
|
|
||||||
/* Informative messages, but we proceed. */
|
/* Informative messages, but we proceed. */
|
||||||
|
|
||||||
void warn (const char *format, ...)
|
void warn (const char *format, ...)
|
||||||
@@ -51,15 +49,6 @@ void fatal (const char *format, ...)
|
|||||||
void fatal_at (location_t location, const char *format, ...)
|
void fatal_at (location_t location, const char *format, ...)
|
||||||
__attribute__ ((__format__ (__printf__, 2, 3)));
|
__attribute__ ((__format__ (__printf__, 2, 3)));
|
||||||
|
|
||||||
# else
|
|
||||||
void warn ();
|
|
||||||
void warn_at ();
|
|
||||||
void complain ();
|
|
||||||
void complain_at ();
|
|
||||||
void fatal ();
|
|
||||||
void fatal_at ();
|
|
||||||
# endif
|
|
||||||
|
|
||||||
/* Position in the current input file. */
|
/* Position in the current input file. */
|
||||||
extern char *infile;
|
extern char *infile;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user