diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-28 04:03:07 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-09-01 20:06:38 -0500 |
commit | 77aa38852ab023e5492059743ae93952af27aad5 (patch) | |
tree | d2274e6a4f01ee06510ab7d67086fcedd7562a7c /src/Vendor.c | |
parent | 96f8565f2bbac928a76b875415eba993ad806925 (diff) |
Fix incompatible vfunc pointer warnings
AsciiSink.c:132:41: warning: initialization from incompatible pointer type
AsciiSink.c:135:41: warning: initialization from incompatible pointer type
AsciiSink.c:137:41: warning: initialization from incompatible pointer type
Vendor.c:199:24: warning: initialization from incompatible pointer type
Vendor.c:269:24: warning: initialization from incompatible pointer type
Vendor.c:284:24: warning: initialization from incompatible pointer type
Viewport.c:143:3: warning: initialization from incompatible pointer type
MultiSink.c:160:41: warning: initialization from incompatible pointer type
MultiSink.c:162:41: warning: initialization from incompatible pointer type
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Vendor.c')
-rw-r--r-- | src/Vendor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Vendor.c b/src/Vendor.c index 42d1853..07af29b 100644 --- a/src/Vendor.c +++ b/src/Vendor.c @@ -98,7 +98,7 @@ static XtResource resources[] = { static void XawVendorShellClassInitialize(void); static void XawVendorShellInitialize(Widget, Widget, ArgList, Cardinal *); -static Boolean XawVendorShellSetValues(Widget, Widget, Widget); +static Boolean XawVendorShellSetValues(Widget, Widget, Widget, ArgList, Cardinal *); static void Realize(Widget, Mask *, XSetWindowAttributes *); static void ChangeManaged(Widget); static XtGeometryResult GeometryManager(Widget, XtWidgetGeometry *, XtWidgetGeometry *); @@ -253,9 +253,9 @@ static XtResource ext_resources[] = { }; static void XawVendorShellExtClassInitialize(void); -static void XawVendorShellExtInitialize(Widget, Widget); +static void XawVendorShellExtInitialize(Widget, Widget, ArgList, Cardinal *); static void XawVendorShellExtDestroy(Widget); -static Boolean XawVendorShellExtSetValues(Widget, Widget, Widget); +static Boolean XawVendorShellExtSetValues(Widget, Widget, Widget, ArgList, Cardinal *); externaldef(vendorshellextclassrec) XawVendorShellExtClassRec xawvendorShellExtClassRec = { @@ -499,7 +499,7 @@ XawVendorShellInitialize(Widget req, Widget new, ArgList args, Cardinal *num_arg /* ARGSUSED */ static Boolean -XawVendorShellSetValues(Widget old, Widget ref, Widget new) +XawVendorShellSetValues(Widget old, Widget ref, Widget new, ArgList args, Cardinal *num_args) { return FALSE; } @@ -526,7 +526,7 @@ XawVendorShellExtClassInitialize(void) /* ARGSUSED */ static void -XawVendorShellExtInitialize(Widget req, Widget new) +XawVendorShellExtInitialize(Widget req, Widget new, ArgList args, Cardinal *num_args) { _XawImInitialize(new->core.parent, new); } @@ -540,7 +540,7 @@ XawVendorShellExtDestroy(Widget w) /* ARGSUSED */ static Boolean -XawVendorShellExtSetValues(Widget old, Widget ref, Widget new) +XawVendorShellExtSetValues(Widget old, Widget ref, Widget new, ArgList args, Cardinal *num_args) { return FALSE; } |