candump.c: Must not extern optind, et al

optined, et al, are not longer simple globals variables (after incubator-nuttx PR 3170).  Redundantly externing them in application code now results in compilation errors.
This commit is contained in:
Gregory Nutt 2021-03-24 21:33:46 -06:00 committed by Xiang Xiao
parent a1df2c634f
commit abd444f9ce

View File

@ -111,8 +111,6 @@ const int canfd_on = 1;
const char anichar[MAXANI] = {'|', '/', '-', '\\'};
const char extra_m_info[4][4] = {"- -", "B -", "- E", "B E"};
extern int optind, opterr, optopt;
static volatile int running = 1;
static void print_usage(char *prg)