summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-28 20:00:47 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-28 20:00:47 +0300
commit01d50c6344b4b77354b13aaa775078b38cf8d87d (patch)
tree4a3337d5c813b0054e2e4c5ebfab553a3ce74cf4
parent388bc95473c1bcb99fdca92183399740e23ed73d (diff)
downloadlibbsd-01d50c6344b4b77354b13aaa775078b38cf8d87d.tar.gz
Use regular getopt()
-rw-r--r--src/bsd_getopt.c6
1 files changed, 1 insertions, 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);
}