summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/lib/getopt.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-28 05:41:44 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-28 05:41:44 +0000
commit75a57bf04a04e7cacbfc1279aa6c35f3f16775d1 (patch)
tree550c48ebd0fbf7ff9990077c95c882242dd88b78 /winsup/cygwin/lib/getopt.c
parentce475802f8aa48518553eabd5887bcc439b61a0d (diff)
downloadcygnal-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.tar.gz
cygnal-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.tar.bz2
cygnal-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.zip
Whitespace cleanup.
* configure.in: Eliminate subdir stuff. * configure: Regenerate. * include/getopt.h (option): Make name field 'const'.
Diffstat (limited to 'winsup/cygwin/lib/getopt.c')
-rw-r--r--winsup/cygwin/lib/getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/lib/getopt.c b/winsup/cygwin/lib/getopt.c
index b09e133a6..da7ecfc76 100644
--- a/winsup/cygwin/lib/getopt.c
+++ b/winsup/cygwin/lib/getopt.c
@@ -40,7 +40,7 @@ int opterr = 1; /* if error message should be printed */
int optind = 1; /* index into parent argv vector */
int optopt; /* character checked for validity */
int optreset; /* reset getopt */
-char *optarg; /* argument associated with option */
+char *optarg; /* argument associated with option */
static char * __progname (char *);
int getopt_internal (int, char * const *, const char *);
@@ -268,7 +268,7 @@ int test_getopt_long(args, expected_result)
actual_result[pass] = '\0';
return(strcmp(actual_result, expected_result));
-
+
}
#if 0