From 506d42c5b76a120dfd1c03d2622df16567e8d4b3 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 24 Jul 2001 12:20:17 +0000 Subject: [PATCH] yyerror() is a printflike function MFC after: 1 week --- usr.bin/colldef/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index 5621a214f677..a5806d1f001c 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -39,7 +39,7 @@ extern int line_no; extern FILE *yyin; -void yyerror(char *fmt, ...); +void yyerror(char *fmt, ...) __printflike(1, 2); int yyparse(void); int yylex(void); static void usage __P((void));