Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vmstat Mark usage as static and __dead.
details: https://anonhg.NetBSD.org/src/rev/37f063faa99e
branches: trunk
changeset: 769344:37f063faa99e
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 06 18:44:46 2011 +0000
description:
Mark usage as static and __dead.
diffstat:
usr.bin/vmstat/vmstat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 178d3eefc9ca -r 37f063faa99e usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c Tue Sep 06 18:44:26 2011 +0000
+++ b/usr.bin/vmstat/vmstat.c Tue Sep 06 18:44:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.182 2011/07/26 13:24:38 yamt Exp $ */
+/* $NetBSD: vmstat.c,v 1.183 2011/09/06 18:44:46 joerg Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
#else
-__RCSID("$NetBSD: vmstat.c,v 1.182 2011/07/26 13:24:38 yamt Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.183 2011/09/06 18:44:46 joerg Exp $");
#endif
#endif /* not lint */
@@ -316,7 +316,7 @@
long getuptime(void);
void printhdr(void);
long pct(long, long);
-void usage(void);
+__dead static void usage(void);
void doforkst(void);
void hist_traverse(int, const char *);
@@ -1881,7 +1881,7 @@
free(fn);
}
-void
+static void
usage(void)
{
Home |
Main Index |
Thread Index |
Old Index