libc/getopt: Remove GETOPT_INIITIALIZER macro
since nobody reference it Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
6ebc1b27fa
commit
60c1b64747
@ -29,20 +29,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define GETOPT_INIITIALIZER() = \
|
||||
{ \
|
||||
NULL, \
|
||||
0, \
|
||||
1, \
|
||||
'?' \
|
||||
NULL, \
|
||||
false \
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
@ -29,15 +29,6 @@
|
||||
|
||||
#include "unistd.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#undef optarg
|
||||
#undef opterr
|
||||
#undef optind
|
||||
#undef optopt
|
||||
|
||||
/****************************************************************************
|
||||
* Prive Functions
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user