Mark some functions as __printflike()
MFC after: 1 week
This commit is contained in:
parent
4c9cf96ea0
commit
a595684e1d
@ -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));
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user