diff options
Diffstat (limited to 'boilerplate/cairo-boilerplate-getopt.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-getopt.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/boilerplate/cairo-boilerplate-getopt.c b/boilerplate/cairo-boilerplate-getopt.c index be66ac23..775d1efe 100644 --- a/boilerplate/cairo-boilerplate-getopt.c +++ b/boilerplate/cairo-boilerplate-getopt.c @@ -40,9 +40,6 @@ #include "cairo-boilerplate-getopt.h" -static const char* ID = "$Id: getopt.c,v 1.2 2003/10/26 03:10:20 vindaci Exp $"; - - char* optarg = NULL; int optind = 0; int opterr = 1; @@ -57,7 +54,7 @@ static int opt_offset = 0; /* Index into compounded "-option" */ static int dashdash = 0; /* True if "--" option reached */ static int nonopt = 0; /* How many nonopts we've found */ -static void increment_index() +static void increment_index(void) { /* Move onto the next option */ if(argv_index < argv_index2) @@ -74,7 +71,7 @@ static void increment_index() * Permutes argv[] so that the argument currently being processed is moved * to the end. */ -static int permute_argv_once() +static int permute_argv_once(void) { /* Movability check */ if(argv_index + nonopt >= prev_argc) return 1; |