Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/rarpd Pull up revision 1.39 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/bfc3f13d066a
branches: netbsd-1-4
changeset: 471137:bfc3f13d066a
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 17:05:45 2000 +0000
description:
Pull up revision 1.39 (requested by he):
Format string cleanup.
diffstat:
usr.sbin/rarpd/rarpd.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 8c6ec43fa658 -r bfc3f13d066a usr.sbin/rarpd/rarpd.c
--- a/usr.sbin/rarpd/rarpd.c Thu Oct 19 17:05:40 2000 +0000
+++ b/usr.sbin/rarpd/rarpd.c Thu Oct 19 17:05:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rarpd.c,v 1.32.2.1 2000/02/12 16:49:20 he Exp $ */
+/* $NetBSD: rarpd.c,v 1.32.2.2 2000/10/19 17:05:45 he Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -28,7 +28,7 @@
#endif /* not lint */
#ifndef lint
-__RCSID("$NetBSD: rarpd.c,v 1.32.2.1 2000/02/12 16:49:20 he Exp $");
+__RCSID("$NetBSD: rarpd.c,v 1.32.2.2 2000/10/19 17:05:45 he Exp $");
#endif
@@ -94,7 +94,8 @@
struct if_info *iflist;
u_int32_t choose_ipaddr __P((u_int32_t **, u_int32_t, u_int32_t));
-void debug __P((const char *,...));
+void debug __P((const char *,...))
+ __attribute__((__format__(__printf__, 1, 2)));
void init_all __P((void));
void init_one __P((char *, u_int32_t));
u_int32_t ipaddrtonetmask __P((u_int32_t));
@@ -106,7 +107,8 @@
void rarp_process __P((struct if_info *, u_char *));
void rarp_reply __P((struct if_info *, struct ether_header *, u_int32_t,
struct hostent *));
-void rarperr __P((int, const char *,...));
+void rarperr __P((int, const char *,...))
+ __attribute__((__format__(__printf__, 2, 3)));
#if defined(__NetBSD__)
#include "mkarp.h"
Home |
Main Index |
Thread Index |
Old Index