mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibC: run clang-format on getopt.h to remove tab characters
This commit is contained in:
parent
0b0036f430
commit
cd507d0408
1 changed files with 10 additions and 10 deletions
|
@ -28,12 +28,12 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#define no_argument 0
|
#define no_argument 0
|
||||||
#define required_argument 1
|
#define required_argument 1
|
||||||
#define optional_argument 2
|
#define optional_argument 2
|
||||||
|
|
||||||
struct option {
|
struct option {
|
||||||
const char *name;
|
const char* name;
|
||||||
int has_arg;
|
int has_arg;
|
||||||
int* flag;
|
int* flag;
|
||||||
int val;
|
int val;
|
||||||
|
@ -41,20 +41,20 @@ struct option {
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
int getopt_long(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*);
|
int getopt_long_only(int, char* const*, const char*, const struct option*, int*);
|
||||||
|
|
||||||
#ifndef _GETOPT_DECLARED
|
#ifndef _GETOPT_DECLARED
|
||||||
#define _GETOPT_DECLARED
|
# define _GETOPT_DECLARED
|
||||||
int getopt(int, char * const [], const char *);
|
int getopt(int, char* const[], const char*);
|
||||||
extern char *optarg;
|
extern char* optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
extern int opterr;
|
extern int opterr;
|
||||||
extern int optopt;
|
extern int optopt;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _OPTRESET_DECLARED
|
#ifndef _OPTRESET_DECLARED
|
||||||
#define _OPTRESET_DECLARED
|
# define _OPTRESET_DECLARED
|
||||||
extern int optreset;
|
extern int optreset;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue