Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
09526fc9
Commit
09526fc9
authored
15 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Fix icc 9.0 compiler warning: external definition with no prior declaration
parent
f0068267
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ares/adig.c
+2
-1
2 additions, 1 deletion
ares/adig.c
ares/ares_getopt.c
+3
-3
3 additions, 3 deletions
ares/ares_getopt.c
with
5 additions
and
4 deletions
ares/adig.c
+
2
−
1
View file @
09526fc9
...
...
@@ -157,7 +157,6 @@ static const char *opcodes[] = {
"UPDATEA"
,
"UPDATED"
,
"UPDATEDA"
,
"UPDATEM"
,
"UPDATEMA"
,
"ZONEINIT"
,
"ZONEREF"
};
struct
in_addr
inaddr
;
static
const
char
*
rcodes
[]
=
{
"NOERROR"
,
"FORMERR"
,
"SERVFAIL"
,
"NXDOMAIN"
,
"NOTIMP"
,
"REFUSED"
,
...
...
@@ -165,6 +164,8 @@ static const char *rcodes[] = {
"(unknown)"
,
"(unknown)"
,
"(unknown)"
,
"(unknown)"
,
"NOCHANGE"
};
static
struct
in_addr
inaddr
;
static
void
callback
(
void
*
arg
,
int
status
,
int
timeouts
,
unsigned
char
*
abuf
,
int
alen
);
static
const
unsigned
char
*
display_question
(
const
unsigned
char
*
aptr
,
...
...
This diff is collapsed.
Click to expand it.
ares/ares_getopt.c
+
3
−
3
View file @
09526fc9
...
...
@@ -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)'?'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment