diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 00:26:26 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 17:31:45 -0500 |
commit | 46aab45f6a089e39075ed36f2e3e569c2f74bd4c (patch) | |
tree | 681d48e6f4278bda0b042663d72ded3df0652798 /include/X11/Xaw3d/ThreeDP.h | |
parent | c9f8e4d90a70e63fd51bf8d517a5650b25055241 (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/ThreeDP.h')
-rw-r--r-- | include/X11/Xaw3d/ThreeDP.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/X11/Xaw3d/ThreeDP.h b/include/X11/Xaw3d/ThreeDP.h index 79aec65..817753f 100644 --- a/include/X11/Xaw3d/ThreeDP.h +++ b/include/X11/Xaw3d/ThreeDP.h @@ -54,10 +54,11 @@ typedef struct _ThreeDRec { } ThreeDRec; typedef struct { - void (*shadowdraw)(); + void (*shadowdraw)(Widget, XEvent *, Region, XtRelief, Boolean); } ThreeDClassPart; -#define XtInheritXaw3dShadowDraw ((void (*)())_XtInherit) +#define XtInheritXaw3dShadowDraw \ +((void (*)(Widget, XEvent *, Region, XtRelief, Boolean))_XtInherit) /* Full class record declaration. */ typedef struct _ThreeDClassRec { |