o style(9) usage() definition: it doesn't need an argument.
This commit is contained in:
parent
6e5f06fead
commit
c07af67dc8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user