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:
Kristof Provost 2024-01-16 17:29:12 +01:00
parent 284d31605c
commit 81ea920435

View file

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