summaryrefslogtreecommitdiff
path: root/src/SimpleMenu.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 04:23:57 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 23:34:51 -0500
commita4c27e1e353978aeb78cfb9a3f4dda7689119ee9 (patch)
treee1ff9c075cd89e9d1fc88d610261ac3f68c82f4c /src/SimpleMenu.c
parentdc03ee95bc990e22094360c3b0c801ae2fdeed8e (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/SimpleMenu.c')
-rw-r--r--src/SimpleMenu.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/SimpleMenu.c b/src/SimpleMenu.c
index e1b9169..7104126 100644
--- a/src/SimpleMenu.c
+++ b/src/SimpleMenu.c
@@ -930,12 +930,7 @@ Cardinal * num_params;
*/
void
-#if NeedFunctionPrototypes
XawSimpleMenuAddGlobalActions(XtAppContext app_con)
-#else
-XawSimpleMenuAddGlobalActions(app_con)
-XtAppContext app_con;
-#endif
{
XtInitializeWidgetClass(simpleMenuWidgetClass);
XmuCallInitializers( app_con );
@@ -949,12 +944,7 @@ XtAppContext app_con;
*/
Widget
-#if NeedFunctionPrototypes
XawSimpleMenuGetActiveEntry(Widget w)
-#else
-XawSimpleMenuGetActiveEntry(w)
-Widget w;
-#endif
{
SimpleMenuWidget smw = (SimpleMenuWidget) w;
@@ -968,12 +958,7 @@ Widget w;
*/
void
-#if NeedFunctionPrototypes
XawSimpleMenuClearActiveEntry(Widget w)
-#else
-XawSimpleMenuClearActiveEntry(w)
-Widget w;
-#endif
{
SimpleMenuWidget smw = (SimpleMenuWidget) w;