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 000000000..51810b17c
--- /dev/null
+++ b/openbsd-compat/getopt.h
@@ -0,0 +1,14 @@
1/* $Id: getopt.h,v 1.1 2001/07/14 03:22:54 djm Exp $ */
2
3#ifndef _GETOPT_H
4#define _GETOPT_H
5
6#include "config.h"
7
8#ifndef HAVE_GETOPT_H
9
10int getopt(int argc, char **argv, char *opts);
11
12#endif
13
14#endif /* _GETOPT_H */