summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-20 05:18:42 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-20 05:18:42 +0000
commitc66dbc5d1f2bddaf2df3b3d538a1e310a53a20e8 (patch)
tree043a2868431fd4c851c9d2ffb54cd0f765071215 /lwlib
parent3a65ba998df30f46c4c3197b5515a1cb2bd6f965 (diff)
downloademacs-c66dbc5d1f2bddaf2df3b3d538a1e310a53a20e8.tar.gz
(activate_button, xm_update_cascadebutton): Don't use prototype.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/lwlib-Xm.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c
index 7924188494f..48730c501c2 100644
--- a/lwlib/lwlib-Xm.c
+++ b/lwlib/lwlib-Xm.c
@@ -257,8 +257,10 @@ xm_update_pushbutton (instance, widget, val)
}
static void
-xm_update_cascadebutton (widget_instance* instance, Widget widget,
- widget_value* val)
+xm_update_cascadebutton (instance, widget, val)
+ widget_instance* instance;
+ Widget widget;
+ widget_value* val;
{
/* Should also rebuild the menu by calling ...update_menu... */
XtRemoveAllCallbacks (widget, XmNcascadingCallback);
@@ -728,7 +730,10 @@ xm_update_one_value (instance, widget, val)
I could not find a way to do that with accelerators.
*/
static void
-activate_button (Widget widget, XtPointer closure, XtPointer call_data)
+activate_button (widget, closure, call_data)
+ Widget widget;
+ XtPointer closure;
+ XtPointer call_data;
{
Widget button = (Widget)closure;
XtCallCallbacks (button, XmNactivateCallback, NULL);