summaryrefslogtreecommitdiffstats
path: root/utils/raptor_getopt.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /utils/raptor_getopt.h
parentInitial commit. (diff)
downloadraptor2-8a74621eb7909f43a549b042a496e042ad12fdcb.tar.xz
raptor2-8a74621eb7909f43a549b042a496e042ad12fdcb.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'utils/raptor_getopt.h')
-rw-r--r--utils/raptor_getopt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/raptor_getopt.h b/utils/raptor_getopt.h
new file mode 100644
index 0000000..56ba8ea
--- /dev/null
+++ b/utils/raptor_getopt.h
@@ -0,0 +1,21 @@
+/*
+ * Public Domain getopt header
+ *
+ */
+
+#ifndef RAPTOR_GETOPT_H
+#define RAPTOR_GETOPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int getopt(int argc, char * const argv[], const char *optstring);
+extern char *optarg;
+extern int optind, opterr, optopt;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif