Include <getopt.h>.

(main): Use getopt where it suffices, not getopt_long.
This commit is contained in:
Paul Eggert committed 2004-09-21 22:04:31 +00:00
1 parent 4fa016cbc9
commit b78d6f6d92
1 file changed
+2 -2
+2 -2
View File
@@ -18,6 +18,7 @@
/* Written by Roland McGrath. */
#include <config.h>
#include <getopt.h>
#include <stdio.h>
#include <sys/types.h>
@@ -75,8 +76,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
if (getopt_long (argc, argv, "+", NULL, NULL) != -1)
if (getopt (argc, argv, "+") != -1)
usage (EXIT_FAIL);
if (argc <= optind)