Fix some -Wstrict-prototypes warnings.
This commit is contained in:
parent
a1deba5ab4
commit
ffe53258aa
|
@ -146,7 +146,7 @@ static void test_mktime(void)
|
|||
ok(((DWORD)nulltime == SECSPERDAY),"mktime returned 0x%08lx\n",(DWORD)nulltime);
|
||||
putenv(TZ_env);
|
||||
}
|
||||
static void test_localtime()
|
||||
static void test_localtime(void)
|
||||
{
|
||||
TIME_ZONE_INFORMATION tzinfo;
|
||||
DWORD res = GetTimeZoneInformation(&tzinfo);
|
||||
|
|
|
@ -219,7 +219,7 @@ static void test_RtlIsNameLegalDOS8Dot3(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
static void test_RtlGetFullPathName_U()
|
||||
static void test_RtlGetFullPathName_U(void)
|
||||
{
|
||||
struct test
|
||||
{
|
||||
|
|
|
@ -55,7 +55,7 @@ static long (WINAPIV *pwcstol)(LPCWSTR, LPWSTR *, INT);
|
|||
static ULONG (WINAPIV *pwcstoul)(LPCWSTR, LPWSTR *, INT);
|
||||
|
||||
|
||||
static void InitFunctionPtrs()
|
||||
static void InitFunctionPtrs(void)
|
||||
{
|
||||
hntdll = LoadLibraryA("ntdll.dll");
|
||||
ok(hntdll != 0, "LoadLibrary failed\n");
|
||||
|
|
|
@ -198,7 +198,7 @@ test_pic(const unsigned char *imgdata, unsigned int imgsize)
|
|||
ok (res == 0, "refcount after release is %ld, but should be 1?\n", res);
|
||||
}
|
||||
|
||||
static void test_empty_image() {
|
||||
static void test_empty_image(void) {
|
||||
LPBYTE data;
|
||||
LPSTREAM stream;
|
||||
IPicture* pic = NULL;
|
||||
|
@ -238,7 +238,7 @@ static void test_empty_image() {
|
|||
IPicture_Release (pic);
|
||||
}
|
||||
|
||||
static void test_empty_image_2() {
|
||||
static void test_empty_image_2(void) {
|
||||
LPBYTE data;
|
||||
LPSTREAM stream;
|
||||
IPicture* pic = NULL;
|
||||
|
|
|
@ -457,7 +457,7 @@ static void test_StrToIntExW(void)
|
|||
}
|
||||
}
|
||||
|
||||
static void test_StrDupA()
|
||||
static void test_StrDupA(void)
|
||||
{
|
||||
LPSTR lpszStr;
|
||||
const StrFormatSizeResult* result = StrFormatSize_results;
|
||||
|
|
|
@ -186,7 +186,7 @@ static const IBindStatusCallbackVtbl statusclbVtbl = {
|
|||
statusclb_OnObjectAvailable
|
||||
};
|
||||
|
||||
static IBindStatusCallback* statusclb_create()
|
||||
static IBindStatusCallback* statusclb_create(void)
|
||||
{
|
||||
statusclb *ret = HeapAlloc(GetProcessHeap(), 0, sizeof(statusclb));
|
||||
ret->lpVtbl = &statusclbVtbl;
|
||||
|
|
|
@ -127,7 +127,7 @@ static void register_menu_check_class(void)
|
|||
|
||||
/* demonstrates that windows lock the menu object so that it is still valid
|
||||
* even after a client calls DestroyMenu on it */
|
||||
static void test_menu_locked_by_window()
|
||||
static void test_menu_locked_by_window(void)
|
||||
{
|
||||
BOOL ret;
|
||||
HMENU hmenu;
|
||||
|
@ -161,7 +161,7 @@ static void test_menu_locked_by_window()
|
|||
DestroyWindow(hwnd);
|
||||
}
|
||||
|
||||
static void test_menu_ownerdraw()
|
||||
static void test_menu_ownerdraw(void)
|
||||
{
|
||||
int i,j,k;
|
||||
BOOL ret;
|
||||
|
|
|
@ -91,12 +91,12 @@ static void fatal_string(int which)
|
|||
ExitProcess(1);
|
||||
}
|
||||
|
||||
static void usage()
|
||||
static void usage(void)
|
||||
{
|
||||
fatal_string(STRING_USAGE);
|
||||
}
|
||||
|
||||
static void license()
|
||||
static void license(void)
|
||||
{
|
||||
fatal_string(STRING_LICENSE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue