svn commit: r194681 - head/usr.sbin/wpa/ndis_events
Maxim Konovalov
maxim at FreeBSD.org
Tue Jun 23 05:55:57 UTC 2009
Author: maxim
Date: Tue Jun 23 05:55:56 2009
New Revision: 194681
URL: http://svn.freebsd.org/changeset/base/194681
Log:
o style(9) usage() definition: it doesn't need an argument.
Modified:
head/usr.sbin/wpa/ndis_events/ndis_events.c
Modified: head/usr.sbin/wpa/ndis_events/ndis_events.c
==============================================================================
--- head/usr.sbin/wpa/ndis_events/ndis_events.c Tue Jun 23 05:51:48 2009 (r194680)
+++ head/usr.sbin/wpa/ndis_events/ndis_events.c Tue Jun 23 05:55:56 2009 (r194681)
@@ -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);
More information about the svn-src-head
mailing list