From 75a57bf04a04e7cacbfc1279aa6c35f3f16775d1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 28 Oct 2000 05:41:44 +0000 Subject: Whitespace cleanup. * configure.in: Eliminate subdir stuff. * configure: Regenerate. * include/getopt.h (option): Make name field 'const'. --- winsup/cygwin/lib/_cygwin_crt0_common.cc | 2 +- winsup/cygwin/lib/cygwin_crt0.c | 2 +- winsup/cygwin/lib/getopt.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/lib') diff --git a/winsup/cygwin/lib/_cygwin_crt0_common.cc b/winsup/cygwin/lib/_cygwin_crt0_common.cc index 0e2d94d..dd9554d 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 6bfb077..d1c76e1 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 b09e133..da7ecfc 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 -- cgit v1.1