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/Toggle.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/Toggle.c')
-rw-r--r-- | src/Toggle.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Toggle.c b/src/Toggle.c index 5db692a..26c3573 100644 --- a/src/Toggle.c +++ b/src/Toggle.c @@ -477,12 +477,7 @@ Widget w; */ void -#if NeedFunctionPrototypes XawToggleChangeRadioGroup(Widget w, Widget radio_group) -#else -XawToggleChangeRadioGroup(w, radio_group) -Widget w, radio_group; -#endif { ToggleWidget tw = (ToggleWidget) w; RadioGroup * group; @@ -511,12 +506,7 @@ Widget w, radio_group; */ XtPointer -#if NeedFunctionPrototypes XawToggleGetCurrent(Widget w) -#else -XawToggleGetCurrent(w) -Widget w; -#endif { RadioGroup * group; @@ -541,13 +531,7 @@ Widget w; */ void -#if NeedFunctionPrototypes XawToggleSetCurrent(Widget radio_group, XtPointer radio_data) -#else -XawToggleSetCurrent(radio_group, radio_data) -Widget radio_group; -XtPointer radio_data; -#endif { RadioGroup * group; ToggleWidget local_tog; @@ -594,12 +578,7 @@ XtPointer radio_data; */ void -#if NeedFunctionPrototypes XawToggleUnsetCurrent(Widget radio_group) -#else -XawToggleUnsetCurrent(radio_group) -Widget radio_group; -#endif { ToggleWidgetClass class; ToggleWidget local_tog = (ToggleWidget) radio_group; |