summaryrefslogtreecommitdiff
path: root/include/X11/Xaw3d/SmeP.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/SmeP.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/SmeP.h')
-rw-r--r--include/X11/Xaw3d/SmeP.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/X11/Xaw3d/SmeP.h b/include/X11/Xaw3d/SmeP.h
index a580be2..888ce75 100644
--- a/include/X11/Xaw3d/SmeP.h
+++ b/include/X11/Xaw3d/SmeP.h
@@ -55,9 +55,9 @@ in this Software without prior written authorization from the X Consortium.
************************************************************/
typedef struct _SmeClassPart {
- void (*highlight)();
- void (*unhighlight)();
- void (*notify)();
+ void (*highlight)(Widget);
+ void (*unhighlight)(Widget);
+ void (*notify)(Widget);
XtPointer extension;
} SmeClassPart;
@@ -96,7 +96,7 @@ typedef struct _SmeRec {
*
************************************************************/
-typedef void (*_XawEntryVoidFunc)();
+typedef void (*_XawEntryVoidFunc)(Widget);
#define XtInheritHighlight ((_XawEntryVoidFunc) _XtInherit)
#define XtInheritUnhighlight XtInheritHighlight