diff options
author | Emanuele Torre <torreemanuele6@gmail.com> | 2020-05-28 14:27:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-28 17:01:31 +0200 |
commit | cd507d040812cfbcd88ac4633562ebd70a490efa (patch) | |
tree | 54e480c3da3cae636d24e27bab30460c09706301 /Libraries | |
parent | 0b0036f4301bd4109381b0207e44c4a03930f88c (diff) | |
download | serenity-cd507d040812cfbcd88ac4633562ebd70a490efa.zip |
LibC: run clang-format on getopt.h to remove tab characters
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibC/getopt.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Libraries/LibC/getopt.h b/Libraries/LibC/getopt.h index 00bed225e7..ea18344eba 100644 --- a/Libraries/LibC/getopt.h +++ b/Libraries/LibC/getopt.h @@ -28,12 +28,12 @@ #include <sys/cdefs.h> -#define no_argument 0 -#define required_argument 1 -#define optional_argument 2 +#define no_argument 0 +#define required_argument 1 +#define optional_argument 2 struct option { - const char *name; + const char* name; int has_arg; int* flag; int val; @@ -41,20 +41,20 @@ struct option { __BEGIN_DECLS -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*); #ifndef _GETOPT_DECLARED -#define _GETOPT_DECLARED -int getopt(int, char * const [], const char *); -extern char *optarg; +# define _GETOPT_DECLARED +int getopt(int, char* const[], const char*); +extern char* optarg; extern int optind; extern int opterr; extern int optopt; #endif #ifndef _OPTRESET_DECLARED -#define _OPTRESET_DECLARED +# define _OPTRESET_DECLARED extern int optreset; #endif |