X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fgetopt.h;h=35cbd358b52855fb1596da7970c84c18dd0f1cdb;hb=a4b0a665b84c4a3117cca152fe28c204d23ece46;hp=6d85c0b6ba68313a5ab0760e069e56fc845253fa;hpb=0438e9fd63bedaa43173fc26b567568ecddac55d;p=musl diff --git a/include/getopt.h b/include/getopt.h index 6d85c0b6..35cbd358 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -7,10 +7,9 @@ extern "C" { int getopt(int, char * const [], const char *); extern char *optarg; -extern int optind, opterr, optopt; +extern int optind, opterr, optopt, optreset; -struct option -{ +struct option { const char *name; int has_arg; int *flag;