diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 04:23:57 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:34:51 -0500 |
commit | a4c27e1e353978aeb78cfb9a3f4dda7689119ee9 (patch) | |
tree | e1ff9c075cd89e9d1fc88d610261ac3f68c82f4c /src/Dialog.c | |
parent | dc03ee95bc990e22094360c3b0c801ae2fdeed8e (diff) |
unifdef -DNeedFunctionPrototypes -DNeedVarargsPrototypes
This is the first step to removing old-style function definition warnings.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src/Dialog.c')
-rw-r--r-- | src/Dialog.c | 13 |
1 files changed, 0 insertions, 13 deletions
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; |