summaryrefslogtreecommitdiffstats
path: root/sgetopt.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /sgetopt.h
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'sgetopt.h')
-rw-r--r--sgetopt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sgetopt.h b/sgetopt.h
new file mode 100644
index 0000000..5f89127
--- /dev/null
+++ b/sgetopt.h
@@ -0,0 +1,21 @@
1#ifndef SGETOPT_H
2#define SGETOPT_H
3
4#ifndef SGETOPTNOSHORT
5#define getopt sgetoptmine
6#define optarg subgetoptarg
7#define optind subgetoptind
8#define optpos subgetoptpos
9#define opterr sgetopterr
10#define optproblem subgetoptproblem
11#define optprogname sgetoptprogname
12#define opteof subgetoptdone
13#endif
14
15#include "subgetopt.h"
16
17extern int sgetoptmine();
18extern int sgetopterr;
19extern char *sgetoptprogname;
20
21#endif