From 33d44db8f48fc024999b4697e8778ed716a1d9ae Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 30 Mar 2020 11:59:37 -0400 Subject: use predictably resettable getopt() --- sh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sh.h') 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 -- cgit v1.2.1