Module Name: src Committed By: joerg Date: Tue Sep 6 18:44:46 UTC 2011
Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Mark usage as static and __dead. To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/vmstat/vmstat.c diff -u src/usr.bin/vmstat/vmstat.c:1.182 src/usr.bin/vmstat/vmstat.c:1.183 --- src/usr.bin/vmstat/vmstat.c:1.182 Tue Jul 26 13:24:38 2011 +++ src/usr.bin/vmstat/vmstat.c Tue Sep 6 18:44:46 2011 @@ -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) {