diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
commit | 1f09f4f7716db5939ec1c9a278b5661616dd72d6 (patch) | |
tree | ff52f060245b574aace08d5db5016c22b56a7876 /src/util/getopt.c | |
parent | 720afac61536fbb212c0010f31764704c12aab0f (diff) | |
download | gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.tar.gz gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.zip |
-help seaspider some more
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r-- | src/util/getopt.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c index 169949821..572e534c5 100644 --- a/src/util/getopt.c +++ b/src/util/getopt.c | |||
@@ -202,9 +202,8 @@ char * | |||
202 | getenv (); | 202 | getenv (); |
203 | 203 | ||
204 | static char * | 204 | static char * |
205 | my_index (str, chr) | 205 | my_index (const char *str, |
206 | const char *str; | 206 | int chr) |
207 | int chr; | ||
208 | { | 207 | { |
209 | while (*str) | 208 | while (*str) |
210 | { | 209 | { |
@@ -294,8 +293,7 @@ exchange (char **); | |||
294 | #endif | 293 | #endif |
295 | 294 | ||
296 | static void | 295 | static void |
297 | exchange (argv) | 296 | exchange (char **argv) |
298 | char **argv; | ||
299 | { | 297 | { |
300 | int bottom = first_nonopt; | 298 | int bottom = first_nonopt; |
301 | int middle = last_nonopt; | 299 | int middle = last_nonopt; |
@@ -381,10 +379,9 @@ static const char * | |||
381 | _getopt_initialize (int, char *const *, const char *); | 379 | _getopt_initialize (int, char *const *, const char *); |
382 | #endif | 380 | #endif |
383 | static const char * | 381 | static const char * |
384 | _getopt_initialize (argc, argv, optstring) | 382 | _getopt_initialize (int argc, |
385 | int argc; | 383 | char *const *argv, |
386 | char *const *argv; | 384 | const char *optstring) |
387 | const char *optstring; | ||
388 | { | 385 | { |
389 | /* Start processing options with ARGV-element 1 (since ARGV-element 0 | 386 | /* Start processing options with ARGV-element 1 (since ARGV-element 0 |
390 | * is the program name); the sequence of previously skipped | 387 | * is the program name); the sequence of previously skipped |