| Index: fusl/include/getopt.h
|
| diff --git a/fusl/include/getopt.h b/fusl/include/getopt.h
|
| index c1d0df928f749ac0f3094b80f2422abce23b2dfa..642853914bf2afd167442e6da6d794b3efefcea2 100644
|
| --- a/fusl/include/getopt.h
|
| +++ b/fusl/include/getopt.h
|
| @@ -5,24 +5,27 @@
|
| extern "C" {
|
| #endif
|
|
|
| -int getopt(int, char * const [], const char *);
|
| -extern char *optarg;
|
| +int getopt(int, char* const[], const char*);
|
| +extern char* optarg;
|
| extern int optind, opterr, optopt, optreset;
|
|
|
| -struct option
|
| -{
|
| - const char *name;
|
| - int has_arg;
|
| - int *flag;
|
| - int val;
|
| +struct option {
|
| + const char* name;
|
| + int has_arg;
|
| + int* flag;
|
| + int val;
|
| };
|
|
|
| -int getopt_long(int, char *const *, const char *, const struct option *, int *);
|
| -int getopt_long_only(int, char *const *, const char *, const struct option *, int *);
|
| +int getopt_long(int, char* const*, const char*, const struct option*, int*);
|
| +int getopt_long_only(int,
|
| + char* const*,
|
| + const char*,
|
| + const struct option*,
|
| + int*);
|
|
|
| -#define no_argument 0
|
| -#define required_argument 1
|
| -#define optional_argument 2
|
| +#define no_argument 0
|
| +#define required_argument 1
|
| +#define optional_argument 2
|
|
|
| #ifdef __cplusplus
|
| }
|
|
|