Use common symbols to avoid dragging in getopt.o unless a getopt-using

command is linked in.
This commit is contained in:
Michael Brown
2006-12-19 16:27:15 +00:00
parent c1bac56f85
commit 70d20c4e7a
3 changed files with 26 additions and 19 deletions
+4
View File
@@ -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
*