Fix consts in WIN32-Code/getopt*.[ch]

This commit is contained in:
Nick Mathewson 2014-03-12 14:06:41 -04:00
parent 58408eedd8
commit 57abb35947
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ struct option
#define required_argument 1
#define optional_argument 2
int getopt(int, char**, char*);
int getopt_long(int, char**, char*, struct option*, int*);
int getopt(int, char**, const char*);
int getopt_long(int, char**, const char*, const struct option*, int*);
#ifdef __cplusplus
}

View File

@ -160,8 +160,8 @@ int
getopt_long(nargc, nargv, options, long_options, index)
int nargc;
char ** nargv;
char * options;
struct option * long_options;
const char * options;
const struct option * long_options;
int * index;
{
int retval;