summaryrefslogtreecommitdiff
path: root/thirdparty/libwebsockets/win32helpers/getopt.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-07-01 18:14:26 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-07-04 15:03:04 +0200
commitaae6c075aa500abdb9c72fea9bbb85cb4e735e65 (patch)
tree1c2055b447ca44df399ea30645c6162df7b2f95e /thirdparty/libwebsockets/win32helpers/getopt.h
parent9e303ef71ce18ffd01ed7a63badf59ea015089c7 (diff)
Remove libwebsocket. No longer used, yay!
Diffstat (limited to 'thirdparty/libwebsockets/win32helpers/getopt.h')
-rw-r--r--thirdparty/libwebsockets/win32helpers/getopt.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/thirdparty/libwebsockets/win32helpers/getopt.h b/thirdparty/libwebsockets/win32helpers/getopt.h
deleted file mode 100644
index 7137f0379c..0000000000
--- a/thirdparty/libwebsockets/win32helpers/getopt.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __GETOPT_H__
-#define __GETOPT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-extern int opterr; /* if error message should be printed */
-extern int optind; /* index into parent argv vector */
-extern int optopt; /* character checked for validity */
-extern int optreset; /* reset getopt */
-extern char *optarg; /* argument associated with option */
-
-struct option
-{
- const char *name;
- int has_arg;
- int *flag;
- int val;
-};
-
-#define no_argument 0
-#define required_argument 1
-#define optional_argument 2
-
-int getopt(int, char**, char*);
-int getopt_long(int, char**, char*, struct option*, int*);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __GETOPT_H__ */