libc/getopt: Remove GETOPT_INIITIALIZER macro

since nobody reference it

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-05-09 19:32:46 +08:00 committed by Abdelatif Guettouche
parent 6ebc1b27fa
commit 60c1b64747
2 changed files with 0 additions and 23 deletions

View File

@ -29,20 +29,6 @@
#include <stdbool.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#define GETOPT_INIITIALIZER() = \
{ \
NULL, \
0, \
1, \
'?' \
NULL, \
false \
}
/****************************************************************************
* Public Types
****************************************************************************/

View File

@ -29,15 +29,6 @@
#include "unistd.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#undef optarg
#undef opterr
#undef optind
#undef optopt
/****************************************************************************
* Prive Functions
****************************************************************************/