summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-09-16 15:39:25 +0000
committerjoerg <joerg@NetBSD.org>2011-09-16 15:39:25 +0000
commit4624cd84611d94dca3296c36c8a168b4bcf4841d (patch)
treec7252e56ce4b800d64c14143a987aae79662bd25 /usr.bin/netstat
parent0bf8553d3c69575f5a2c8288661d1c1feccc5fd8 (diff)
Use __dead
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/if.c6
-rw-r--r--usr.bin/netstat/main.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 4425e014b20..afda5e03f57 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.71 2011/02/04 14:31:23 martin Exp $ */
+/* $NetBSD: if.c,v 1.72 2011/09/16 15:39:27 joerg Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-__RCSID("$NetBSD: if.c,v 1.71 2011/02/04 14:31:23 martin Exp $");
+__RCSID("$NetBSD: if.c,v 1.72 2011/09/16 15:39:27 joerg Exp $");
#endif
#endif /* not lint */
@@ -637,7 +637,7 @@ iftot_print_sum(struct iftot *cur, struct iftot *old)
printf(" %5llu", (unsigned long long)(cur->ift_dr - old->ift_dr));
}
-static void
+__dead static void
sidewaysintpr_sysctl(unsigned interval)
{
sigset_t emptyset;
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index bd6b5649f2e..6e5b52ac464 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.80 2011/07/17 10:22:07 njoly Exp $ */
+/* $NetBSD: main.c,v 1.81 2011/09/16 15:39:27 joerg Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-__RCSID("$NetBSD: main.c,v 1.80 2011/07/17 10:22:07 njoly Exp $");
+__RCSID("$NetBSD: main.c,v 1.81 2011/09/16 15:39:27 joerg Exp $");
#endif
#endif /* not lint */
@@ -344,7 +344,7 @@ const struct softintrq {
int main __P((int, char *[]));
static void printproto __P((struct protox *, const char *));
static void print_softintrq __P((void));
-static void usage __P((void));
+__dead static void usage(void);
static struct protox *name2protox __P((const char *));
static struct protox *knownname __P((const char *));
static void prepare(const char *, const char *, struct protox *tp);