summaryrefslogtreecommitdiff
path: root/codec/compat/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'codec/compat/getopt.h')
-rw-r--r--codec/compat/getopt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/codec/compat/getopt.h b/codec/compat/getopt.h
new file mode 100644
index 00000000..ab9c1a7b
--- /dev/null
+++ b/codec/compat/getopt.h
@@ -0,0 +1,14 @@
+/* last review : october 29th, 2002 */
+
+#ifndef _GETOPT_H_
+#define _GETOPT_H_
+
+extern int opterr;
+extern int optind;
+extern int optopt;
+extern int optreset;
+extern char *optarg;
+
+extern int getopt(int nargc, char *const *nargv, const char *ostr);
+
+#endif /* _GETOPT_H_ */