aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype.h
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2002-06-09 02:40:08 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2002-06-09 02:40:08 +0000
commit644fccb9aeb6203ca64b29621470f0ee609935a6 (patch)
tree959ac971a137daac5692ea8ea5057db4be23bc81 /gcc/gengtype.h
parent6598bd48d195e93f4f78443dbba8a3875d964094 (diff)
* gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add
ATTRIBUTE_PRINTF_2. * gengtype-lex.l: Fix format specifier warning. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r--gcc/gengtype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h
index e5f92f2644b..1e8eec7cc40 100644
--- a/gcc/gengtype.h
+++ b/gcc/gengtype.h
@@ -109,7 +109,7 @@ extern struct fileloc lexer_line;
/* Print an error message. */
extern void error_at_line
- VPARAMS ((struct fileloc *pos, const char *msg, ...));
+ PARAMS ((struct fileloc *pos, const char *msg, ...)) ATTRIBUTE_PRINTF_2;
/* Constructor routines for types. */
extern void do_typedef PARAMS ((const char *s, type_p t, struct fileloc *pos));