gphoto2.ds: Fix non-ANSI function declaration. Found by sparse.

Michael Stefaniuc mstefani at redhat.de
Mon Jun 4 17:18:16 CDT 2007


---
 dlls/gphoto2.ds/gphoto2_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gphoto2.ds/gphoto2_main.c b/dlls/gphoto2.ds/gphoto2_main.c
index 83e2eea..f4f4546 100644
--- a/dlls/gphoto2.ds/gphoto2_main.c
+++ b/dlls/gphoto2.ds/gphoto2_main.c
@@ -509,7 +509,7 @@ static CameraList *detected_cameras;
 static CameraAbilitiesList *abilities_list;
 
 static TW_UINT16
-gphoto2_auto_detect() {
+gphoto2_auto_detect(void) {
     int result, count;
 
     if (detected_cameras && (gp_list_count (detected_cameras) == 0)) {
-- 
1.5.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070605/2a66071b/attachment.pgp


More information about the wine-patches mailing list