--- parser3/src/targets/cgi/Attic/getopt.c 2002/06/24 14:29:09 1.1 +++ parser3/src/targets/cgi/Attic/getopt.c 2006/04/09 12:25:04 1.4.10.1 @@ -15,7 +15,7 @@ int opterr = 1; int optopt; static int -optiserr(int argc, char * const *argv, int oint, const char *optstr, +optiserr(int /*argc*/, char * const *argv, int oint, const char* /*optstr*/, int optchr, int err) { if(opterr) @@ -44,12 +44,12 @@ optiserr(int argc, char * const *argv, i int -getopt(int argc, char* const *argv, const char *optstr) +getopt(int argc, char* const *argv, const char* optstr) { static int optchr = 0; static int dash = 0; /* have already seen the - */ - char *cp; + const char *cp; if(optind >= argc) return(EOF); @@ -167,4 +167,4 @@ int return 0; } -#endif /* TESTGETOPT */ \ No newline at end of file +#endif /* TESTGETOPT */