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
998e256c
Commit
998e256c
authored
Aug 18, 2006
by
Stefan Huehner
Committed by
Alexandre Julliard
Aug 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some -Wstrict-prototype warnings () -> (void).
parent
21b94d4c
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
16 deletions
+16
-16
advpack.c
dlls/advpack/tests/advpack.c
+1
-1
files.c
dlls/advpack/tests/files.c
+1
-1
header.c
dlls/comctl32/tests/header.c
+2
-2
d3d.c
dlls/ddraw/tests/d3d.c
+1
-1
gphoto2_i.h
dlls/gphoto2.ds/gphoto2_i.h
+1
-1
ui.c
dlls/gphoto2.ds/ui.c
+1
-1
editor.c
dlls/riched20/tests/editor.c
+5
-5
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+1
-1
sane_main.c
dlls/sane.ds/sane_main.c
+1
-1
shellpath.c
dlls/shell32/shellpath.c
+1
-1
dsm_ctrl.c
dlls/twain_32/dsm_ctrl.c
+1
-1
No files found.
dlls/advpack/tests/advpack.c
View file @
998e256c
...
@@ -419,7 +419,7 @@ static BOOL check_reg_dword(HKEY hkey, LPCSTR name, DWORD value)
...
@@ -419,7 +419,7 @@ static BOOL check_reg_dword(HKEY hkey, LPCSTR name, DWORD value)
return
(
check
==
value
);
return
(
check
==
value
);
}
}
static
void
setperusersecvalues_test
()
static
void
setperusersecvalues_test
(
void
)
{
{
PERUSERSECTION
peruser
;
PERUSERSECTION
peruser
;
HRESULT
hr
;
HRESULT
hr
;
...
...
dlls/advpack/tests/files.c
View file @
998e256c
...
@@ -127,7 +127,7 @@ static BOOL check_ini_contents(LPSTR filename, BOOL add)
...
@@ -127,7 +127,7 @@ static BOOL check_ini_contents(LPSTR filename, BOOL add)
return
ret
;
return
ret
;
}
}
static
void
test_AddDelBackupEntry
()
static
void
test_AddDelBackupEntry
(
void
)
{
{
HRESULT
res
;
HRESULT
res
;
CHAR
path
[
MAX_PATH
];
CHAR
path
[
MAX_PATH
];
...
...
dlls/comctl32/tests/header.c
View file @
998e256c
...
@@ -56,7 +56,7 @@ static void dont_expect_notify(INT iCode)
...
@@ -56,7 +56,7 @@ static void dont_expect_notify(INT iCode)
unexpectedNotify
[
nUnexpectedNotify
++
]
=
iCode
;
unexpectedNotify
[
nUnexpectedNotify
++
]
=
iCode
;
}
}
static
BOOL
notifies_received
()
static
BOOL
notifies_received
(
void
)
{
{
BOOL
fRet
=
(
nExpectedNotify
==
nReceivedNotify
);
BOOL
fRet
=
(
nExpectedNotify
==
nReceivedNotify
);
nExpectedNotify
=
nReceivedNotify
=
0
;
nExpectedNotify
=
nReceivedNotify
=
0
;
...
@@ -323,7 +323,7 @@ static void check_auto_fields(void)
...
@@ -323,7 +323,7 @@ static void check_auto_fields(void)
/* field from comctl >4.0 not tested as the system probably won't touch them */
/* field from comctl >4.0 not tested as the system probably won't touch them */
}
}
static
void
check_mask
()
static
void
check_mask
(
void
)
{
{
HDITEMA
hdi
;
HDITEMA
hdi
;
static
CHAR
text
[]
=
"ABC"
;
static
CHAR
text
[]
=
"ABC"
;
...
...
dlls/ddraw/tests/d3d.c
View file @
998e256c
...
@@ -220,7 +220,7 @@ static void LightTest(void)
...
@@ -220,7 +220,7 @@ static void LightTest(void)
ok
(
rc
==
DDERR_INVALIDPARAMS
,
"GetLightEnable returned: %lx
\n
"
,
rc
);
ok
(
rc
==
DDERR_INVALIDPARAMS
,
"GetLightEnable returned: %lx
\n
"
,
rc
);
}
}
static
void
ProcessVerticesTest
()
static
void
ProcessVerticesTest
(
void
)
{
{
D3DVERTEXBUFFERDESC
desc
;
D3DVERTEXBUFFERDESC
desc
;
HRESULT
rc
;
HRESULT
rc
;
...
...
dlls/gphoto2.ds/gphoto2_i.h
View file @
998e256c
...
@@ -246,7 +246,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
...
@@ -246,7 +246,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
/* UI function */
/* UI function */
BOOL
DoCameraUI
();
BOOL
DoCameraUI
(
void
);
HWND
TransferringDialogBox
(
HWND
dialog
,
DWORD
progress
);
HWND
TransferringDialogBox
(
HWND
dialog
,
DWORD
progress
);
#ifdef HAVE_GPHOTO2
#ifdef HAVE_GPHOTO2
...
...
dlls/gphoto2.ds/ui.c
View file @
998e256c
...
@@ -226,7 +226,7 @@ static INT_PTR CALLBACK DialogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
...
@@ -226,7 +226,7 @@ static INT_PTR CALLBACK DialogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
return
FALSE
;
return
FALSE
;
}
}
BOOL
DoCameraUI
()
BOOL
DoCameraUI
(
void
)
{
{
return
DialogBoxW
(
GPHOTO2_instance
,
return
DialogBoxW
(
GPHOTO2_instance
,
(
LPWSTR
)
MAKEINTRESOURCE
(
IDD_CAMERAUI
),
NULL
,
DialogProc
);
(
LPWSTR
)
MAKEINTRESOURCE
(
IDD_CAMERAUI
),
NULL
,
DialogProc
);
...
...
dlls/riched20/tests/editor.c
View file @
998e256c
...
@@ -455,7 +455,7 @@ static void test_EM_SETTEXTMODE(void)
...
@@ -455,7 +455,7 @@ static void test_EM_SETTEXTMODE(void)
DestroyWindow
(
hwndRichEdit
);
DestroyWindow
(
hwndRichEdit
);
}
}
static
void
test_TM_PLAINTEXT
()
static
void
test_TM_PLAINTEXT
(
void
)
{
{
/*Tests plain text properties*/
/*Tests plain text properties*/
...
@@ -557,7 +557,7 @@ static void test_TM_PLAINTEXT()
...
@@ -557,7 +557,7 @@ static void test_TM_PLAINTEXT()
DestroyWindow
(
hwndRichEdit
);
DestroyWindow
(
hwndRichEdit
);
}
}
static
void
test_WM_GETTEXT
()
static
void
test_WM_GETTEXT
(
void
)
{
{
HWND
hwndRichEdit
=
new_richedit
(
NULL
);
HWND
hwndRichEdit
=
new_richedit
(
NULL
);
static
const
char
text
[]
=
"Hello. My name is RichEdit!"
;
static
const
char
text
[]
=
"Hello. My name is RichEdit!"
;
...
@@ -572,7 +572,7 @@ static void test_WM_GETTEXT()
...
@@ -572,7 +572,7 @@ static void test_WM_GETTEXT()
}
}
/* FIXME: need to test unimplemented options and robustly test wparam */
/* FIXME: need to test unimplemented options and robustly test wparam */
static
void
test_EM_SETOPTIONS
()
static
void
test_EM_SETOPTIONS
(
void
)
{
{
HWND
hwndRichEdit
=
new_richedit
(
NULL
);
HWND
hwndRichEdit
=
new_richedit
(
NULL
);
static
const
char
text
[]
=
"Hello. My name is RichEdit!"
;
static
const
char
text
[]
=
"Hello. My name is RichEdit!"
;
...
@@ -675,7 +675,7 @@ static void test_EM_AUTOURLDETECT(void)
...
@@ -675,7 +675,7 @@ static void test_EM_AUTOURLDETECT(void)
DestroyWindow
(
parent
);
DestroyWindow
(
parent
);
}
}
static
void
test_EM_SCROLL
()
static
void
test_EM_SCROLL
(
void
)
{
{
int
i
,
j
;
int
i
,
j
;
int
r
;
/* return value */
int
r
;
/* return value */
...
@@ -810,7 +810,7 @@ static void test_EM_SCROLL()
...
@@ -810,7 +810,7 @@ static void test_EM_SCROLL()
DestroyWindow
(
hwndRichEdit
);
DestroyWindow
(
hwndRichEdit
);
}
}
static
void
test_EM_SETUNDOLIMIT
()
static
void
test_EM_SETUNDOLIMIT
(
void
)
{
{
/* cases we test for:
/* cases we test for:
* default behaviour - limiting at 100 undo's
* default behaviour - limiting at 100 undo's
...
...
dlls/rpcrt4/tests/ndr_marshall.c
View file @
998e256c
...
@@ -228,7 +228,7 @@ static int deref_cmp(const void *s1, const void *s2, size_t num)
...
@@ -228,7 +228,7 @@ static int deref_cmp(const void *s1, const void *s2, size_t num)
}
}
static
void
test_simple_types
()
static
void
test_simple_types
(
void
)
{
{
unsigned
char
wiredata
[
16
];
unsigned
char
wiredata
[
16
];
unsigned
char
ch
;
unsigned
char
ch
;
...
...
dlls/sane.ds/sane_main.c
View file @
998e256c
...
@@ -540,7 +540,7 @@ static void copy_sane_short_name(const char *in, char *out, size_t outsize)
...
@@ -540,7 +540,7 @@ static void copy_sane_short_name(const char *in, char *out, size_t outsize)
static
const
SANE_Device
**
sane_devlist
;
static
const
SANE_Device
**
sane_devlist
;
static
void
static
void
detect_sane_devices
()
{
detect_sane_devices
(
void
)
{
if
(
sane_devlist
&&
sane_devlist
[
0
])
return
;
if
(
sane_devlist
&&
sane_devlist
[
0
])
return
;
TRACE
(
"detecting sane...
\n
"
);
TRACE
(
"detecting sane...
\n
"
);
if
(
sane_get_devices
(
&
sane_devlist
,
SANE_FALSE
)
!=
SANE_STATUS_GOOD
)
if
(
sane_get_devices
(
&
sane_devlist
,
SANE_FALSE
)
!=
SANE_STATUS_GOOD
)
...
...
dlls/shell32/shellpath.c
View file @
998e256c
...
@@ -2010,7 +2010,7 @@ static inline BOOL _SHAppendToUnixPath(char *szBasePath, LPCWSTR pwszSubPath) {
...
@@ -2010,7 +2010,7 @@ static inline BOOL _SHAppendToUnixPath(char *szBasePath, LPCWSTR pwszSubPath) {
* exists and left alone if not.
* exists and left alone if not.
* ('My Music',... above in fact means LoadString(IDS_MYMUSIC))
* ('My Music',... above in fact means LoadString(IDS_MYMUSIC))
*/
*/
static
void
_SHCreateSymbolicLinks
()
static
void
_SHCreateSymbolicLinks
(
void
)
{
{
UINT
aidsMyStuff
[]
=
{
IDS_MYPICTURES
,
IDS_MYVIDEO
,
IDS_MYMUSIC
},
i
;
UINT
aidsMyStuff
[]
=
{
IDS_MYPICTURES
,
IDS_MYVIDEO
,
IDS_MYMUSIC
},
i
;
int
acsidlMyStuff
[]
=
{
CSIDL_MYPICTURES
,
CSIDL_MYVIDEO
,
CSIDL_MYMUSIC
};
int
acsidlMyStuff
[]
=
{
CSIDL_MYPICTURES
,
CSIDL_MYVIDEO
,
CSIDL_MYMUSIC
};
...
...
dlls/twain_32/dsm_ctrl.c
View file @
998e256c
...
@@ -98,7 +98,7 @@ twain_add_onedriver(const char *dsname) {
...
@@ -98,7 +98,7 @@ twain_add_onedriver(const char *dsname) {
static
int
detectionrun
=
0
;
static
int
detectionrun
=
0
;
static
void
static
void
twain_autodetect
()
{
twain_autodetect
(
void
)
{
if
(
detectionrun
)
return
;
if
(
detectionrun
)
return
;
detectionrun
=
1
;
detectionrun
=
1
;
...
...
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