aboutsummaryrefslogtreecommitdiff
path: root/src/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/getopt.h')
-rw-r--r--src/getopt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/getopt.h b/src/getopt.h
new file mode 100644
index 0000000..d52543f
--- /dev/null
+++ b/src/getopt.h
@@ -0,0 +1,16 @@
+#ifndef __GETOPT_H_
+#define __GETOPT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int optind ;
+extern char *optarg ;
+extern int getopt (int argc, char **argv, char *optstring) ;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif