From 16c442364eec2ec78062f59492077e70596cd835 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 26 Feb 2020 17:05:09 -0500 Subject: fix name --- src/unistd/getopt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unistd') diff --git a/src/unistd/getopt.c b/src/unistd/getopt.c index 0af466aa..337de1e8 100644 --- a/src/unistd/getopt.c +++ b/src/unistd/getopt.c @@ -3,7 +3,7 @@ #include "stdio.h" #include -int ung_getopt(int argc, char * const argv[], const char *optstring) +int getopt(int argc, char * const argv[], const char *optstring) { static int optchar = 0; char *option = NULL; @@ -40,7 +40,7 @@ int ung_getopt(int argc, char * const argv[], const char *optstring) if (argv[optind][optchar] == '\0') { optind++; optchar = 0; - return ung_getopt(argc, argv, optstring); + return getopt(argc, argv, optstring); } option = strchr(optstring, argv[optind][optchar]); -- cgit v1.2.1