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>2000-10-28 09:41:44 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-28 09:41:44 +0400
commit75a57bf04a04e7cacbfc1279aa6c35f3f16775d1 (patch)
tree550c48ebd0fbf7ff9990077c95c882242dd88b78 /winsup/cygwin/lib
parentce475802f8aa48518553eabd5887bcc439b61a0d (diff)
Whitespace cleanup.
* configure.in: Eliminate subdir stuff. * configure: Regenerate. * include/getopt.h (option): Make name field 'const'.
Diffstat (limited to 'winsup/cygwin/lib')
-rw-r--r--winsup/cygwin/lib/_cygwin_crt0_common.cc2
-rw-r--r--winsup/cygwin/lib/cygwin_crt0.c2
-rw-r--r--winsup/cygwin/lib/getopt.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/lib/_cygwin_crt0_common.cc b/winsup/cygwin/lib/_cygwin_crt0_common.cc
index 0e2d94df6..dd9554d29 100644
--- a/winsup/cygwin/lib/_cygwin_crt0_common.cc
+++ b/winsup/cygwin/lib/_cygwin_crt0_common.cc
@@ -65,7 +65,7 @@ _cygwin_crt0_common (MainFunc f, per_process *u)
_impure_ptr = u->impure_ptr; /* Use field initialized in newer DLLs. */
else
u->impure_ptr_ptr = &_impure_ptr; /* Older DLLs need this. */
-
+
u->forkee = 0; /* This should only be set in dcrt0.cc
when the process is actually forked */
u->main = f;
diff --git a/winsup/cygwin/lib/cygwin_crt0.c b/winsup/cygwin/lib/cygwin_crt0.c
index 6bfb07797..d1c76e1f7 100644
--- a/winsup/cygwin/lib/cygwin_crt0.c
+++ b/winsup/cygwin/lib/cygwin_crt0.c
@@ -30,5 +30,5 @@ cygwin_crt0 (MainFunc f)
memset (u, 0, sizeof (u));
(void) _cygwin_crt0_common (f, u);
}
- dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */
+ dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */
}
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