From a4c27e1e353978aeb78cfb9a3f4dda7689119ee9 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 24 Aug 2011 04:23:57 -0500 Subject: unifdef -DNeedFunctionPrototypes -DNeedVarargsPrototypes This is the first step to removing old-style function definition warnings. Signed-off-by: Yaakov Selkowitz Acked-by: Gaetan Nadon --- src/Dialog.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/Dialog.c') diff --git a/src/Dialog.c b/src/Dialog.c index 2de2d09..e8a764d 100644 --- a/src/Dialog.c +++ b/src/Dialog.c @@ -405,16 +405,8 @@ Widget w; void -#if NeedFunctionPrototypes XawDialogAddButton(Widget dialog, _Xconst char* name, XtCallbackProc function, XtPointer param) -#else -XawDialogAddButton(dialog, name, function, param) -Widget dialog; -String name; -XtCallbackProc function; -XtPointer param; -#endif { /* * Correct Constraints are all set in ConstraintInitialize(). @@ -430,12 +422,7 @@ XtPointer param; char * -#if NeedFunctionPrototypes XawDialogGetValueString(Widget w) -#else -XawDialogGetValueString(w) -Widget w; -#endif { Arg args[1]; char * value; -- cgit v1.2.3