Use common symbols to avoid dragging in getopt.o unless a getopt-using
command is linked in.
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
static struct command commands[0] __table_start ( commands );
|
||||
static struct command commands_end[0] __table_end ( commands );
|
||||
|
||||
/* Avoid dragging in getopt.o unless a command really uses it */
|
||||
int optind;
|
||||
int nextchar;
|
||||
|
||||
/**
|
||||
* Execute command
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user