o style(9) usage() definition: it doesn't need an argument.

This commit is contained in:
Maxim Konovalov 2009-06-23 05:55:56 +00:00
parent 6e5f06fead
commit c07af67dc8

View File

@ -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);