mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
pflowclt: fix gcc build error
gcc is unhappy with the nested extern declaration of __progname, so move it out of the usage() function. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
284d31605c
commit
81ea920435
|
@ -47,11 +47,11 @@
|
|||
|
||||
static int get(int id);
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
extern char *__progname;
|
||||
|
||||
fprintf(stderr,
|
||||
"usage: %s [-la] [-d id]\n",
|
||||
__progname);
|
||||
|
|
Loading…
Reference in a new issue