summaryrefslogtreecommitdiff
path: root/openbsd-compat/getopt.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-09-18 15:05:20 +1000
committerDamien Miller <djm@mindrot.org>2001-09-18 15:05:20 +1000
commitff5f47e230b2c8278791c0fb8b2bcb0d08fcee1b (patch)
tree9d2673f5339f61631931224d55630952cee25edc /openbsd-compat/getopt.h
parentffbe69890dd16bb0dce24e401163cec731034e39 (diff)
- (djm) Avoid warning on BSDgetopt
Diffstat (limited to 'openbsd-compat/getopt.h')
-rw-r--r--openbsd-compat/getopt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h
index 08a4eb3e0..9abdae8e9 100644
--- a/openbsd-compat/getopt.h
+++ b/openbsd-compat/getopt.h
@@ -1,14 +1,14 @@
1/* $Id: getopt.h,v 1.3 2001/09/17 21:34:34 tim Exp $ */ 1/* $Id: getopt.h,v 1.4 2001/09/18 05:05:21 djm Exp $ */
2 2
3#ifndef _GETOPT_H 3#ifndef _BSDGETOPT_H
4#define _GETOPT_H 4#define _BSDGETOPT_H
5 5
6#include "config.h" 6#include "config.h"
7 7
8#ifndef HAVE_GETOPT_H 8#if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET)
9 9
10int BSDgetopt(int argc, char * const *argv, const char *opts); 10int BSDgetopt(int argc, char * const *argv, const char *opts);
11 11
12#endif 12#endif
13 13
14#endif /* _GETOPT_H */ 14#endif /* _BSDGETOPT_H */