From 01d50c6344b4b77354b13aaa775078b38cf8d87d Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 28 Jan 2012 20:00:47 +0300 Subject: Use regular getopt() --- src/bsd_getopt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bsd_getopt.c b/src/bsd_getopt.c index b5bd270..fdcfd71 100644 --- a/src/bsd_getopt.c +++ b/src/bsd_getopt.c @@ -36,9 +36,5 @@ bsd_getopt(int argc, char * const argv[], const char *shortopts) optind = 0; } - /* - * Make sure we are using the system getopt() and not a possible - * overlay macro. - */ - return (getopt)(argc, argv, shortopts); + return getopt(argc, argv, shortopts); } -- cgit v1.2.3