summaryrefslogtreecommitdiffstats
path: root/subgetopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'subgetopt.h')
-rw-r--r--subgetopt.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/subgetopt.h b/subgetopt.h
new file mode 100644
index 0000000..d26c62a
--- /dev/null
+++ b/subgetopt.h
@@ -0,0 +1,24 @@
1#ifndef SUBGETOPT_H
2#define SUBGETOPT_H
3
4#ifndef SUBGETOPTNOSHORT
5#define sgopt subgetopt
6#define sgoptarg subgetoptarg
7#define sgoptind subgetoptind
8#define sgoptpos subgetoptpos
9#define sgoptproblem subgetoptproblem
10#define sgoptprogname subgetoptprogname
11#define sgoptdone subgetoptdone
12#endif
13
14#define SUBGETOPTDONE -1
15
16extern int subgetopt();
17extern char *subgetoptarg;
18extern int subgetoptind;
19extern int subgetoptpos;
20extern int subgetoptproblem;
21extern char *subgetoptprogname;
22extern int subgetoptdone;
23
24#endif