Commit 9213d56a authored by Stefan Huehner's avatar Stefan Huehner Committed by Alexandre Julliard

Make some function static.

parent ddf70d7e
......@@ -100,7 +100,7 @@ HRESULT WINAPI enummodescallback(LPDDSURFACEDESC lpddsd, LPVOID lpContext)
return DDENUMRET_OK;
}
void enumdisplaymodes(void)
static void enumdisplaymodes(void)
{
DDSURFACEDESC ddsd;
HRESULT rc;
......
......@@ -277,7 +277,7 @@ static void testGetIpForwardTable(void)
}
}
void testGetIpNetTable(void)
static void testGetIpNetTable(void)
{
if (gGetIpNetTable) {
DWORD apiReturn;
......@@ -307,7 +307,7 @@ void testGetIpNetTable(void)
}
}
void testGetIcmpStatistics(void)
static void testGetIcmpStatistics(void)
{
if (gGetIcmpStatistics) {
DWORD apiReturn;
......@@ -325,7 +325,7 @@ void testGetIcmpStatistics(void)
}
}
void testGetIpStatistics(void)
static void testGetIpStatistics(void)
{
if (gGetIpStatistics) {
DWORD apiReturn;
......@@ -343,7 +343,7 @@ void testGetIpStatistics(void)
}
}
void testGetTcpStatistics(void)
static void testGetTcpStatistics(void)
{
if (gGetTcpStatistics) {
DWORD apiReturn;
......@@ -361,7 +361,7 @@ void testGetTcpStatistics(void)
}
}
void testGetUdpStatistics(void)
static void testGetUdpStatistics(void)
{
if (gGetUdpStatistics) {
DWORD apiReturn;
......@@ -379,7 +379,7 @@ void testGetUdpStatistics(void)
}
}
void testGetTcpTable(void)
static void testGetTcpTable(void)
{
if (gGetTcpTable) {
DWORD apiReturn;
......@@ -407,7 +407,7 @@ void testGetTcpTable(void)
}
}
void testGetUdpTable(void)
static void testGetUdpTable(void)
{
if (gGetUdpTable) {
DWORD apiReturn;
......
......@@ -297,7 +297,7 @@ static void test_CreateNamedPipe(int pipemode)
trace("test_CreateNamedPipe returning\n");
}
void test_CreateNamedPipe_instances_must_match(void)
static void test_CreateNamedPipe_instances_must_match(void)
{
HANDLE hnp, hnp2;
......
......@@ -73,7 +73,7 @@
#define CHECK_DEF(n,d1,d2) ok(d1 == d2, "Defines (MSVCRT_)%s are different: '%d' vs. '%d'\n", n, d1, d2)
/************* Checking types ***************/
void test_types(void)
static void test_types(void)
{
CHECK_TYPE(wchar_t);
CHECK_TYPE(wint_t);
......@@ -97,7 +97,7 @@ void test_types(void)
}
/************* Checking structs ***************/
void test_structs(void)
static void test_structs(void)
{
CHECK_STRUCT(tm);
CHECK_FIELD(tm, tm_sec);
......
......@@ -34,7 +34,7 @@ static void * (*pMSVCRTD_operator_new_dbg)(unsigned long, int, const char *, int
#define SETNOFAIL(x,y) x = (void*)GetProcAddress(hModule,y)
#define SET(x,y) SETNOFAIL(x,y); ok(x != NULL, "Export '%s' not found\n", y)
int init_functions(void)
static int init_functions(void)
{
HMODULE hModule = LoadLibraryA("msvcrtd.dll");
ok(hModule != NULL, "LoadLibraryA failed\n");
......@@ -51,7 +51,7 @@ int init_functions(void)
/**********************************************************************/
void test_new(void)
static void test_new(void)
{
void *mem;
......
......@@ -64,7 +64,7 @@ static int init_access_tests(void)
return 1;
}
void run_usergetinfo_tests(void)
static void run_usergetinfo_tests(void)
{
NET_API_STATUS rc;
PUSER_INFO_0 ui0 = NULL;
......@@ -123,7 +123,7 @@ void run_usergetinfo_tests(void)
}
/* checks Level 1 of NetQueryDisplayInformation */
void run_querydisplayinformation1_tests(void)
static void run_querydisplayinformation1_tests(void)
{
PNET_DISPLAY_USER Buffer, rec;
DWORD Result, EntryCount;
......
......@@ -35,7 +35,7 @@ static NET_API_STATUS (WINAPI *pNetApiBufferReallocate)(LPVOID,DWORD,LPVOID*)=NU
static NET_API_STATUS (WINAPI *pNetApiBufferSize)(LPVOID,LPDWORD)=NULL;
void run_apibuf_tests(void)
static void run_apibuf_tests(void)
{
VOID *p;
DWORD dwSize;
......
......@@ -58,7 +58,7 @@ static BOOL Uuid_Comparison_Grid[11][11] = {
{ TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE }
};
void UuidConversionAndComparison(void) {
static void UuidConversionAndComparison(void) {
CHAR strx[100], x;
LPSTR str = strx;
WCHAR wstrx[100], wx;
......@@ -123,7 +123,7 @@ void UuidConversionAndComparison(void) {
}
}
void TestDceErrorInqText (void)
static void TestDceErrorInqText (void)
{
char bufferInvalid [1024];
char buffer [1024]; /* The required size is not documented but would
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment