From abd444f9ce3ab83975215571656fef1cdcd3cbe2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 24 Mar 2021 21:33:46 -0600 Subject: [PATCH] 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. --- canutils/candump/candump.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/canutils/candump/candump.c b/canutils/candump/candump.c index b040c1542..7b3074cc3 100644 --- a/canutils/candump/candump.c +++ b/canutils/candump/candump.c @@ -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)