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
7357b65d
Commit
7357b65d
authored
Jan 02, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jan 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netstat: Make functions static.
parent
5e3e7304
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
netstat.c
programs/netstat/netstat.c
+4
-4
No files found.
programs/netstat/netstat.c
View file @
7357b65d
...
@@ -107,7 +107,7 @@ static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...)
...
@@ -107,7 +107,7 @@ static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...)
return
nOut
;
return
nOut
;
}
}
WCHAR
*
NETSTAT_load_message
(
UINT
id
)
{
static
WCHAR
*
NETSTAT_load_message
(
UINT
id
)
{
static
WCHAR
msg
[
2048
];
static
WCHAR
msg
[
2048
];
static
const
WCHAR
failedW
[]
=
{
'F'
,
'a'
,
'i'
,
'l'
,
'e'
,
'd'
,
'!'
,
'\0'
};
static
const
WCHAR
failedW
[]
=
{
'F'
,
'a'
,
'i'
,
'l'
,
'e'
,
'd'
,
'!'
,
'\0'
};
...
@@ -118,14 +118,14 @@ WCHAR *NETSTAT_load_message(UINT id) {
...
@@ -118,14 +118,14 @@ WCHAR *NETSTAT_load_message(UINT id) {
return
msg
;
return
msg
;
}
}
WCHAR
*
NETSTAT_port_name
(
UINT
port
,
WCHAR
name
[])
static
WCHAR
*
NETSTAT_port_name
(
UINT
port
,
WCHAR
name
[])
{
{
/* FIXME: can we get the name? */
/* FIXME: can we get the name? */
sprintfW
(
name
,
fmtport
,
htons
((
WORD
)
port
));
sprintfW
(
name
,
fmtport
,
htons
((
WORD
)
port
));
return
name
;
return
name
;
}
}
WCHAR
*
NETSTAT_host_name
(
UINT
ip
,
WCHAR
name
[])
static
WCHAR
*
NETSTAT_host_name
(
UINT
ip
,
WCHAR
name
[])
{
{
UINT
nip
;
UINT
nip
;
...
@@ -135,7 +135,7 @@ WCHAR *NETSTAT_host_name(UINT ip, WCHAR name[])
...
@@ -135,7 +135,7 @@ WCHAR *NETSTAT_host_name(UINT ip, WCHAR name[])
return
name
;
return
name
;
}
}
void
NETSTAT_tcp_table
(
void
)
static
void
NETSTAT_tcp_table
(
void
)
{
{
PMIB_TCPTABLE
table
;
PMIB_TCPTABLE
table
;
DWORD
err
,
size
,
i
;
DWORD
err
,
size
,
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