aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-05-20 05:18:42 +0000
committerKarl Heuer1995-05-20 05:18:42 +0000
commitd111e5ab1214e78c6cc8501254eafc13c91cbbbe (patch)
tree6592b04029ee0005e9754d806e398111a406fbec
parent9e3fe4594b12e689ff0dde3a666d1c3f11a53561 (diff)
downloademacs-d111e5ab1214e78c6cc8501254eafc13c91cbbbe.tar.gz
emacs-d111e5ab1214e78c6cc8501254eafc13c91cbbbe.zip
(activate_button, xm_update_cascadebutton): Don't use prototype.
-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)
257} 257}
258 258
259static void 259static void
260xm_update_cascadebutton (widget_instance* instance, Widget widget, 260xm_update_cascadebutton (instance, widget, val)
261 widget_value* val) 261 widget_instance* instance;
262 Widget widget;
263 widget_value* val;
262{ 264{
263 /* Should also rebuild the menu by calling ...update_menu... */ 265 /* Should also rebuild the menu by calling ...update_menu... */
264 XtRemoveAllCallbacks (widget, XmNcascadingCallback); 266 XtRemoveAllCallbacks (widget, XmNcascadingCallback);
@@ -728,7 +730,10 @@ xm_update_one_value (instance, widget, val)
728 I could not find a way to do that with accelerators. 730 I could not find a way to do that with accelerators.
729 */ 731 */
730static void 732static void
731activate_button (Widget widget, XtPointer closure, XtPointer call_data) 733activate_button (widget, closure, call_data)
734 Widget widget;
735 XtPointer closure;
736 XtPointer call_data;
732{ 737{
733 Widget button = (Widget)closure; 738 Widget button = (Widget)closure;
734 XtCallCallbacks (button, XmNactivateCallback, NULL); 739 XtCallCallbacks (button, XmNactivateCallback, NULL);