summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2009-06-23 05:55:56 +0000
committermaxim <maxim@FreeBSD.org>2009-06-23 05:55:56 +0000
commit0761ade8acc27aa44d26cc29ae23abc8a6ffd5f3 (patch)
treeed24754b44c903792dfb36f9902e7b9576e48cd7 /usr.sbin/wpa
parentf03ffbff9f6a49eb6c79ed391b06e7e03cbae764 (diff)
downloadFreeBSD-src-0761ade8acc27aa44d26cc29ae23abc8a6ffd5f3.zip
FreeBSD-src-0761ade8acc27aa44d26cc29ae23abc8a6ffd5f3.tar.gz
o style(9) usage() definition: it doesn't need an argument.
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r--usr.sbin/wpa/ndis_events/ndis_events.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/wpa/ndis_events/ndis_events.c b/usr.sbin/wpa/ndis_events/ndis_events.c
index 0b09056..155bea3 100644
--- a/usr.sbin/wpa/ndis_events/ndis_events.c
+++ b/usr.sbin/wpa/ndis_events/ndis_events.c
@@ -93,7 +93,7 @@ struct ndis_evt {
static int find_ifname(int, char *);
static int announce_event(char *, int, struct sockaddr_in *);
-static void usage(char *);
+static void usage();
static void
dbgmsg(const char *fmt, ...)
@@ -262,8 +262,7 @@ announce_event(ifname, sock, dst)
}
static void
-usage(progname)
- char *progname;
+usage()
{
fprintf(stderr, "Usage: ndis_events [-a] [-d] [-v]\n");
exit(1);
OpenPOWER on IntegriCloud