diff options
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r-- | src/util/getopt.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c index db81d1c3d..eb79db757 100644 --- a/src/util/getopt.c +++ b/src/util/getopt.c | |||
@@ -194,7 +194,8 @@ static char *posixly_correct; | |||
194 | /* Avoid depending on library functions or files | 194 | /* Avoid depending on library functions or files |
195 | whose names are inconsistent. */ | 195 | whose names are inconsistent. */ |
196 | 196 | ||
197 | char *getenv (); | 197 | char * |
198 | getenv (); | ||
198 | 199 | ||
199 | static char * | 200 | static char * |
200 | my_index (str, chr) | 201 | my_index (str, chr) |
@@ -218,7 +219,8 @@ my_index (str, chr) | |||
218 | #if !defined (__STDC__) || !__STDC__ | 219 | #if !defined (__STDC__) || !__STDC__ |
219 | /* gcc with -traditional declares the built-in strlen to return int, | 220 | /* gcc with -traditional declares the built-in strlen to return int, |
220 | and has done so at least since version 2.4.5. -- rms. */ | 221 | and has done so at least since version 2.4.5. -- rms. */ |
221 | extern int strlen (const char *); | 222 | extern int |
223 | strlen (const char *); | ||
222 | #endif /* not __STDC__ */ | 224 | #endif /* not __STDC__ */ |
223 | #endif /* __GNUC__ */ | 225 | #endif /* __GNUC__ */ |
224 | 226 | ||
@@ -283,7 +285,8 @@ text_set_element (__libc_subinit, store_args_and_env); | |||
283 | the new indices of the non-options in ARGV after they are moved. */ | 285 | the new indices of the non-options in ARGV after they are moved. */ |
284 | 286 | ||
285 | #if defined (__STDC__) && __STDC__ | 287 | #if defined (__STDC__) && __STDC__ |
286 | static void exchange (char **); | 288 | static void |
289 | exchange (char **); | ||
287 | #endif | 290 | #endif |
288 | 291 | ||
289 | static void | 292 | static void |
@@ -370,7 +373,8 @@ exchange (argv) | |||
370 | /* Initialize the internal data when the first call is made. */ | 373 | /* Initialize the internal data when the first call is made. */ |
371 | 374 | ||
372 | #if defined (__STDC__) && __STDC__ | 375 | #if defined (__STDC__) && __STDC__ |
373 | static const char *_getopt_initialize (int, char *const *, const char *); | 376 | static const char * |
377 | _getopt_initialize (int, char *const *, const char *); | ||
374 | #endif | 378 | #endif |
375 | static const char * | 379 | static const char * |
376 | _getopt_initialize (argc, argv, optstring) | 380 | _getopt_initialize (argc, argv, optstring) |