o Fix usage() prototype [1] and correct its call.
Submitted by: ed [1]
This commit is contained in:
parent
c8eb786c8d
commit
fe7bc8cbab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194686
@ -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();
|
||||
static void usage(void);
|
||||
|
||||
static void
|
||||
dbgmsg(const char *fmt, ...)
|
||||
@ -293,7 +293,7 @@ main(argc, argv)
|
||||
all_events++;
|
||||
break;
|
||||
default:
|
||||
usage(PROGNAME);
|
||||
usage();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user