summaryrefslogtreecommitdiff
path: root/sh.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ungol.org>2020-03-30 11:59:37 -0400
committerJakob Kaivo <jkk@ungol.org>2020-03-30 11:59:37 -0400
commit33d44db8f48fc024999b4697e8778ed716a1d9ae (patch)
tree198ff8271fd864258399b7dc6a0d565960d64182 /sh.h
parent59fbad21c96727767a68ca6c8c4c5a8fad58f7d5 (diff)
use predictably resettable getopt()
Diffstat (limited to 'sh.h')
-rw-r--r--sh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh.h b/sh.h
index 477226d..3479baa 100644
--- a/sh.h
+++ b/sh.h
@@ -70,4 +70,6 @@ void sh_trap(int trapno);
int yyparse(void);
+#define getopt sh_getopt
+
#endif