# HG changeset patch # User Karl Heuer # Date 800947122 0 # Node ID 10a973a88e872aaf8a0d5e833fc453421ecbcd16 # Parent 5bb6ba0420150791e8eb11fc415aafd2a9ebda43 (activate_button, xm_update_cascadebutton): Don't use prototype. diff -r 5bb6ba042015 -r 10a973a88e87 lwlib/lwlib-Xm.c --- a/lwlib/lwlib-Xm.c Sat May 20 05:15:49 1995 +0000 +++ b/lwlib/lwlib-Xm.c Sat May 20 05:18:42 1995 +0000 @@ -257,8 +257,10 @@ } 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 @@ 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);