summaryrefslogtreecommitdiff
path: root/openbsd-compat/getopt.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-07-14 13:22:53 +1000
committerDamien Miller <djm@mindrot.org>2001-07-14 13:22:53 +1000
commit4f8e66929b592825856df3625f5de7922f826020 (patch)
treea2aa5cbf687af528463900a8852b02386e12729e /openbsd-compat/getopt.h
parent8f6bc30a4b23fb07ca3aca01a745f070a2129760 (diff)
- (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension.
Diffstat (limited to 'openbsd-compat/getopt.h')
-rw-r--r--openbsd-compat/getopt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h
new file mode 100644
index 00000000..51810b17
--- /dev/null
+++ b/openbsd-compat/getopt.h
@@ -0,0 +1,14 @@
+/* $Id: getopt.h,v 1.1 2001/07/14 03:22:54 djm Exp $ */
+
+#ifndef _GETOPT_H
+#define _GETOPT_H
+
+#include "config.h"
+
+#ifndef HAVE_GETOPT_H
+
+int getopt(int argc, char **argv, char *opts);
+
+#endif
+
+#endif /* _GETOPT_H */