Mark some functions as __printflike()

MFC after:	1 week
This commit is contained in:
kris 2001-07-05 09:28:13 +00:00
parent ea830eccb4
commit 3f5ce02c76
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@
/*
* Local function declarations
*/
static void fatal __P((char *fmt, ...));
static void warn __P((char *fmt, ...));
static void fatal __P((char *fmt, ...)) __printflike(1, 2);
static void warn __P((char *fmt, ...)) __printflike(1, 2);;
static void yyerror __P((char *s));
static char * next_word __P((void));
static int yylex __P((void));

View File

@ -236,7 +236,7 @@ extern char * sys_errlist[];
/* main.c */
extern char * scaletime __P((u_long));
extern void log __P((int, int, char *, ...));
extern void log __P((int, int, char *, ...)) __printflike(3, 4);
extern int register_input_handler __P((int, ihfunc_t));
/* igmp.c */