1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 06:09:51 +00:00

Fix icc 9.0 compiler warning: external definition with no prior declaration

This commit is contained in:
Yang Tse
2009-11-16 20:02:12 +00:00
parent c4ee4a5d21
commit b47af62e75
2 changed files with 5 additions and 4 deletions

View File

@ -50,9 +50,9 @@
#include "ares_getopt.h"
int opterr = 1, /* if error message should be printed */
optind = 1, /* index into parent argv vector */
optopt, /* character checked for validity */
optreset; /* reset getopt */
optind = 1; /* index into parent argv vector */
static int optopt; /* character checked for validity */
static int optreset; /* reset getopt */
char *optarg; /* argument associated with option */
#define BADCH (int)'?'