Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
275e104a
Commit
275e104a
authored
Apr 25, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Constify some variables.
parent
3d2670ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
query.c
dlls/dnsapi/query.c
+3
-3
No files found.
dlls/dnsapi/query.c
View file @
275e104a
...
...
@@ -199,7 +199,7 @@ static char *dns_str_from_rdata( const unsigned char *rdata )
return
str
;
}
static
unsigned
int
dns_get_record_size
(
ns_rr
*
rr
)
static
unsigned
int
dns_get_record_size
(
const
ns_rr
*
rr
)
{
const
unsigned
char
*
pos
=
rr
->
rdata
;
unsigned
int
num
=
0
,
size
=
sizeof
(
DNS_RECORDA
);
...
...
@@ -250,7 +250,7 @@ static unsigned int dns_get_record_size( ns_rr *rr )
return
size
;
}
static
DNS_STATUS
dns_copy_rdata
(
ns_msg
msg
,
ns_rr
*
rr
,
DNS_RECORDA
*
r
,
WORD
*
dlen
)
static
DNS_STATUS
dns_copy_rdata
(
ns_msg
msg
,
const
ns_rr
*
rr
,
DNS_RECORDA
*
r
,
WORD
*
dlen
)
{
DNS_STATUS
ret
=
ERROR_SUCCESS
;
const
unsigned
char
*
pos
=
rr
->
rdata
;
...
...
@@ -560,7 +560,7 @@ exit:
/* The resolver lock must be held and res_init() must have been
* called before calling these three functions.
*/
static
DNS_STATUS
dns_set_serverlist
(
PIP4_ARRAY
addrs
)
static
DNS_STATUS
dns_set_serverlist
(
const
IP4_ARRAY
*
addrs
)
{
unsigned
int
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment