[MPlayer-dev-eng] [patch] foo() -> foo(void)

Stefan Huehner stefan at huehner.org
Sat Jul 15 12:25:46 CEST 2006


Hi,

attached patch correct a function declararation without parameters to
the correct foo(void) syntax.

Regards,
Stefan

-------------- next part --------------
Index: Gui/wm/wsxdnd.c
===================================================================
--- Gui/wm/wsxdnd.c	(revision 19100)
+++ Gui/wm/wsxdnd.c	(working copy)
@@ -29,7 +29,7 @@
 
 Atom atom_support;
 
-void wsXDNDInitialize()
+void wsXDNDInitialize(void)
 {
 
     _XA_XdndAware = XInternAtom(wsDisplay, "XdndAware", False);
Index: Gui/wm/wsxdnd.h
===================================================================
--- Gui/wm/wsxdnd.h	(revision 19100)
+++ Gui/wm/wsxdnd.h	(working copy)
@@ -3,7 +3,7 @@
 #define _XDND_H_
 
 
-void wsXDNDInitialize();
+void wsXDNDInitialize(void);
 Bool wsXDNDProcessSelection(wsTWindow* wnd,XEvent *event);
 Bool wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event);
 void wsXDNDMakeAwareness(wsTWindow* window);


More information about the MPlayer-dev-eng mailing list