Fix WARNS=2 warnings (shadow vars again), but don't switch WARNS=2 on for

the application, since WARNS=2 includes fatal warnings when linking, and we
get a warning about IDEA being a patented algorithm.
This commit is contained in:
agc 2009-01-21 03:37:12 +00:00
parent 6dfd9b1804
commit 1cf88afccb
1 changed files with 2 additions and 2 deletions

View File

@ -121,10 +121,10 @@ static struct option long_options[]=
{ 0,0,0,0},
};
void print_usage(const char* usage, char* pname)
static void print_usage(const char* usagemsg, char* progname)
{
fprintf(stderr, "\nUsage: ");
fprintf(stderr, usage, basename(pname));
fprintf(stderr, usagemsg, basename(progname));
}
int main(int argc, char **argv)