net: Make output_string() and output_error_string() static.
This commit is contained in:
parent
ab9f028958
commit
7a71c5d3e3
|
@ -25,7 +25,7 @@
|
||||||
#define NET_START 0001
|
#define NET_START 0001
|
||||||
#define NET_STOP 0002
|
#define NET_STOP 0002
|
||||||
|
|
||||||
int output_string(int msg, ...)
|
static int output_string(int msg, ...)
|
||||||
{
|
{
|
||||||
char msg_buffer[8192];
|
char msg_buffer[8192];
|
||||||
va_list arguments;
|
va_list arguments;
|
||||||
|
@ -37,7 +37,7 @@ int output_string(int msg, ...)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL output_error_string(DWORD error)
|
static BOOL output_error_string(DWORD error)
|
||||||
{
|
{
|
||||||
LPSTR pBuffer;
|
LPSTR pBuffer;
|
||||||
if (FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
|
if (FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
|
||||||
|
|
Loading…
Reference in New Issue