diff options
author | kris <kris@FreeBSD.org> | 2000-10-06 23:46:52 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-10-06 23:46:52 +0000 |
commit | 44c3d480b472d6936e2fdf0b16c99e14a757266b (patch) | |
tree | df9371dfa492543ed50950c7db8e28f45326e5bc /usr.sbin/rtsold/rtsold.h | |
parent | a5984fa40eeb4f40d06d1f1266a995af112d7ee5 (diff) | |
download | FreeBSD-src-44c3d480b472d6936e2fdf0b16c99e14a757266b.zip FreeBSD-src-44c3d480b472d6936e2fdf0b16c99e14a757266b.tar.gz |
Sync with KAME. Format string auditing, and add -a flag to autoprobe
interfaces.
Obtained from: KAME
Diffstat (limited to 'usr.sbin/rtsold/rtsold.h')
-rw-r--r-- | usr.sbin/rtsold/rtsold.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/rtsold/rtsold.h b/usr.sbin/rtsold/rtsold.h index f5c722b..b6eec21 100644 --- a/usr.sbin/rtsold/rtsold.h +++ b/usr.sbin/rtsold/rtsold.h @@ -1,3 +1,5 @@ +/* $KAME: rtsold.h,v 1.9 2000/08/13 06:15:00 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. @@ -63,11 +65,8 @@ extern struct timeval tm_max; extern int dflag; struct ifinfo *find_ifinfo __P((int ifindex)); void rtsol_timer_update __P((struct ifinfo *ifinfo)); -#ifdef __STDC__ -extern void warnmsg __P((int, const char *, const char *, ...)); -#else -extern void warnmsg __P((int, const char *, const char *, va_list)); -#endif +extern void warnmsg __P((int, const char *, const char *, ...)) + __attribute__((__format__(__printf__, 3, 4))); /* if.c */ extern int ifinit __P((void)); |