summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-17 16:03:48 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-05-17 16:03:48 +1000
commit8654dd2d737800d09e7730b3dfc2a54411f4cf90 (patch)
tree7f002c4436ce9d5e8f339f03b453603e8f7fc76a /openbsd-compat
parent59d928d3b47e8298f4a8b4b3fb37fb8c8ce1b098 (diff)
- (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/getopt.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h
index 0311b078b..8eb12447e 100644
--- a/openbsd-compat/getopt.h
+++ b/openbsd-compat/getopt.h
@@ -33,8 +33,6 @@
33#ifndef _GETOPT_H_ 33#ifndef _GETOPT_H_
34#define _GETOPT_H_ 34#define _GETOPT_H_
35 35
36#include <sys/cdefs.h>
37
38/* 36/*
39 * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions 37 * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions
40 */ 38 */
@@ -56,7 +54,6 @@ struct option {
56 int val; 54 int val;
57}; 55};
58 56
59__BEGIN_DECLS
60int getopt_long(int, char * const *, const char *, 57int getopt_long(int, char * const *, const char *,
61 const struct option *, int *); 58 const struct option *, int *);
62int getopt_long_only(int, char * const *, const char *, 59int getopt_long_only(int, char * const *, const char *,
@@ -73,6 +70,5 @@ extern int optopt;
73extern int optreset; 70extern int optreset;
74extern char *suboptarg; /* getsubopt(3) external variable */ 71extern char *suboptarg; /* getsubopt(3) external variable */
75#endif 72#endif
76__END_DECLS
77 73
78#endif /* !_GETOPT_H_ */ 74#endif /* !_GETOPT_H_ */