Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tadpolectl Make usage static and dead.
details: https://anonhg.NetBSD.org/src/rev/7b15fe03aae5
branches: trunk
changeset: 340806:7b15fe03aae5
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Oct 02 20:42:15 2015 +0000
description:
Make usage static and dead.
diffstat:
usr.sbin/tadpolectl/tadpolectl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 1548d8caab65 -r 7b15fe03aae5 usr.sbin/tadpolectl/tadpolectl.c
--- a/usr.sbin/tadpolectl/tadpolectl.c Fri Oct 02 20:36:54 2015 +0000
+++ b/usr.sbin/tadpolectl/tadpolectl.c Fri Oct 02 20:42:15 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tadpolectl.c,v 1.8 2009/04/30 16:10:10 nakayama Exp $ */
+/* $NetBSD: tadpolectl.c,v 1.9 2015/10/02 20:42:15 joerg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
int aflag, nflag, wflag, dev;
#define PROTO(x) int x __P((int, int, int));
-void usage __P((void));
+static void usage __P((void)) __dead;
static void parse __P((char *));
char *dashdot __P((const char *));
int main __P((int, char *[]));
@@ -663,8 +663,8 @@
return(1);
}
-void
-usage()
+static void
+usage(void)
{
(void)fprintf(stderr,
"usage: tadpolectl [-n] name ...\n"
Home |
Main Index |
Thread Index |
Old Index