Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/rtsold Pullup 1.6 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/e23ff16cd20f
branches:  netbsd-1-5
changeset: 489875:e23ff16cd20f
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 02:23:03 2000 +0000

description:
Pullup 1.6 [itojun]:
printf-format audit.  from sommrfeld%netbsd.org@localhost.  sync with kame.

diffstat:

 usr.sbin/rtsold/rtsold.h |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 8fdd19ebb359 -r e23ff16cd20f usr.sbin/rtsold/rtsold.h
--- a/usr.sbin/rtsold/rtsold.h  Wed Oct 18 02:22:45 2000 +0000
+++ b/usr.sbin/rtsold/rtsold.h  Wed Oct 18 02:23:03 2000 +0000
@@ -1,4 +1,5 @@
-/*     $NetBSD: rtsold.h,v 1.4 2000/02/25 09:19:10 itojun Exp $        */
+/*     $NetBSD: rtsold.h,v 1.4.4.1 2000/10/18 02:23:03 tv Exp $        */
+/*     $KAME: rtsold.h,v 1.10 2000/10/05 22:20:39 itojun Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -63,11 +64,8 @@
 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));



Home | Main Index | Thread Index | Old Index