Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-05 09:09:15 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-05 09:09:15 +0300
commit9c510edc61bef580f66590d0932a64873307e1c5 (patch)
treedca774d4fabdf48d9098f7691beb1178c12aab0b /winsup/cygwin/lib
parenta9ae96dde4c22f69c06f2c7b0ace0b0ad07ee0e5 (diff)
Eliminate excess whitespace.
Diffstat (limited to 'winsup/cygwin/lib')
-rw-r--r--winsup/cygwin/lib/dll_main.cc2
-rw-r--r--winsup/cygwin/lib/getopt.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/lib/dll_main.cc b/winsup/cygwin/lib/dll_main.cc
index e4486a3d8..a224a0a2f 100644
--- a/winsup/cygwin/lib/dll_main.cc
+++ b/winsup/cygwin/lib/dll_main.cc
@@ -15,7 +15,7 @@ details. */
extern "C"
BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason,
- LPVOID reserved /* Not used. */);
+ LPVOID reserved /* Not used. */);
BOOL APIENTRY
DllMain (
diff --git a/winsup/cygwin/lib/getopt.c b/winsup/cygwin/lib/getopt.c
index 12763ea9b..c6f967d8e 100644
--- a/winsup/cygwin/lib/getopt.c
+++ b/winsup/cygwin/lib/getopt.c
@@ -147,7 +147,7 @@ gcd(a, b)
b = c;
c = a % b;
}
-
+
return b;
}
@@ -245,7 +245,7 @@ start:
place = EMSG;
if (IN_ORDER) {
/*
- * GNU extension:
+ * GNU extension:
* return non-option as argument to option 1
*/
optarg = nargv[optind++];
@@ -291,7 +291,7 @@ start:
}
if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
/* XXX: what if no long options provided (called by getopt)? */
- if (*place)
+ if (*place)
return -2;
if (++optind >= nargc) { /* no arg */
@@ -411,7 +411,7 @@ getopt_long(int nargc, char * const *nargv, const char *options,
has_equal++;
} else
current_argv_len = strlen(current_argv);
-
+
for (i = 0; long_options[i].name; i++) {
/* find matching long option */
if (strncmp(current_argv, long_options[i].name,
@@ -436,7 +436,7 @@ getopt_long(int nargc, char * const *nargv, const char *options,
}
}
if (match != -1) { /* option found */
- if (long_options[match].has_arg == no_argument
+ if (long_options[match].has_arg == no_argument
&& has_equal) {
if (PRINT_ERROR)
warnx(noarg, (int)current_argv_len,
@@ -492,7 +492,7 @@ getopt_long(int nargc, char * const *nargv, const char *options,
if (long_options[match].flag) {
*long_options[match].flag = long_options[match].val;
retval = 0;
- } else
+ } else
retval = long_options[match].val;
if (idx)
*idx = match;