summaryrefslogtreecommitdiff
path: root/include/X11/Xaw3d/FormP.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/FormP.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/FormP.h')
-rw-r--r--include/X11/Xaw3d/FormP.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/X11/Xaw3d/FormP.h b/include/X11/Xaw3d/FormP.h
index a7390c4..50a405e 100644
--- a/include/X11/Xaw3d/FormP.h
+++ b/include/X11/Xaw3d/FormP.h
@@ -56,10 +56,11 @@ SOFTWARE.
#define XtREdgeType "EdgeType"
typedef enum {LayoutPending, LayoutInProgress, LayoutDone} LayoutState;
-#define XtInheritLayout ((Boolean (*)())_XtInherit)
+#define XtInheritLayout \
+((Boolean (*)(FormWidget, Dimension, Dimension, Boolean))_XtInherit)
typedef struct {
- Boolean (*layout)(/* FormWidget, Dimension, Dimension */);
+ Boolean (*layout)(FormWidget, Dimension, Dimension, Boolean);
} FormClassPart;
/*