From a309080e06d173c0b830cb1135fe2a471cb5d21c Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 2 Oct 2015 20:42:15 +0000 Subject: [PATCH] Make usage static and dead. --- usr.sbin/tadpolectl/tadpolectl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/tadpolectl/tadpolectl.c b/usr.sbin/tadpolectl/tadpolectl.c index 7e08e9ea08d5..39465003bc0b 100644 --- a/usr.sbin/tadpolectl/tadpolectl.c +++ b/usr.sbin/tadpolectl/tadpolectl.c @@ -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 @@ FUNC(hw_serial_power) return(1); } -void -usage() +static void +usage(void) { (void)fprintf(stderr, "usage: tadpolectl [-n] name ...\n"