diff --git a/include/nuttx/lib/getopt.h b/include/nuttx/lib/getopt.h index f155648b4fd..9eb7b3abc6b 100644 --- a/include/nuttx/lib/getopt.h +++ b/include/nuttx/lib/getopt.h @@ -29,20 +29,6 @@ #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -#define GETOPT_INIITIALIZER() = \ - { \ - NULL, \ - 0, \ - 1, \ - '?' \ - NULL, \ - false \ - } - /**************************************************************************** * Public Types ****************************************************************************/ diff --git a/libs/libc/unistd/lib_getopt_common.c b/libs/libc/unistd/lib_getopt_common.c index 750a596f730..cd9e481260d 100644 --- a/libs/libc/unistd/lib_getopt_common.c +++ b/libs/libc/unistd/lib_getopt_common.c @@ -29,15 +29,6 @@ #include "unistd.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -#undef optarg -#undef opterr -#undef optind -#undef optopt - /**************************************************************************** * Prive Functions ****************************************************************************/