diff options
Diffstat (limited to 'mdk-stage1/dietlibc/include/getopt.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/getopt.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mdk-stage1/dietlibc/include/getopt.h b/mdk-stage1/dietlibc/include/getopt.h index ebfc5522d..db1592c52 100644 --- a/mdk-stage1/dietlibc/include/getopt.h +++ b/mdk-stage1/dietlibc/include/getopt.h @@ -1,12 +1,8 @@ #ifndef __GETOPT_H__ #define __GETOPT_H__ -extern int optind,opterr; -extern char *optarg; -int getopt(int argc, char *argv[], char *options); +#include <unistd.h> -/* the following was taken from GNU getopt, it's not actually supported - * by the diet libc! */ extern int optopt; struct option { |