summaryrefslogtreecommitdiff
path: root/include/X11/Xaw3d/SimpleP.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-26 00:26:26 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-26 17:31:45 -0500
commit46aab45f6a089e39075ed36f2e3e569c2f74bd4c (patch)
tree681d48e6f4278bda0b042663d72ded3df0652798 /include/X11/Xaw3d/SimpleP.h
parentc9f8e4d90a70e63fd51bf8d517a5650b25055241 (diff)
include: Fix old-style function definitions
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'include/X11/Xaw3d/SimpleP.h')
-rw-r--r--include/X11/Xaw3d/SimpleP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/Xaw3d/SimpleP.h b/include/X11/Xaw3d/SimpleP.h
index 6650e20..96e9050 100644
--- a/include/X11/Xaw3d/SimpleP.h
+++ b/include/X11/Xaw3d/SimpleP.h
@@ -53,10 +53,10 @@ SOFTWARE.
#include <X11/Xaw3d/Simple.h>
typedef struct {
- Boolean (*change_sensitive)(/* widget */);
+ Boolean (*change_sensitive)(Widget);
} SimpleClassPart;
-#define XtInheritChangeSensitive ((Boolean (*)())_XtInherit)
+#define XtInheritChangeSensitive ((Boolean (*)(Widget))_XtInherit)
typedef struct _SimpleClassRec {
CoreClassPart core_class;