aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-11-21 10:58:13 +0000
committerDave Love2002-11-21 10:58:13 +0000
commit207c13a78f0791333ca476e7ad1518d65f0d433d (patch)
tree845f8f31b2af865681ac30f12ec39ae6d246b72d
parentf4df536d0abea71ac9f816b13d745db05d6a0345 (diff)
downloademacs-207c13a78f0791333ca476e7ad1518d65f0d433d.tar.gz
emacs-207c13a78f0791333ca476e7ad1518d65f0d433d.zip
Provide ISO C arglists for functions
with Boolean args.
-rw-r--r--lwlib/ChangeLog5
-rw-r--r--lwlib/lwlib-Xaw.c9
2 files changed, 14 insertions, 0 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index a5e88ec5e08..ae38c07eb40 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,3 +1,8 @@
12002-11-21 Dave Love <fx@gnu.org>
2
3 * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions
4 with Boolean args.
5
12002-11-20 Dave Love <fx@gnu.org> 62002-11-20 Dave Love <fx@gnu.org>
2 7
3 * lwlib.c: Remove obsolete USE_OLIT code. 8 * lwlib.c: Remove obsolete USE_OLIT code.
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index b93ee0beb36..058899a9277 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -119,11 +119,16 @@ xaw_update_scrollbar (instance, widget, val)
119#endif 119#endif
120 120
121void 121void
122#ifdef PROTOTYPES
123xaw_update_one_widget (widget_instance *instance, Widget widget,
124 widget_value *val, Boolean deep_p)
125#else
122xaw_update_one_widget (instance, widget, val, deep_p) 126xaw_update_one_widget (instance, widget, val, deep_p)
123 widget_instance *instance; 127 widget_instance *instance;
124 Widget widget; 128 Widget widget;
125 widget_value *val; 129 widget_value *val;
126 Boolean deep_p; 130 Boolean deep_p;
131#endif
127{ 132{
128#if 0 133#if 0
129 if (XtIsSubclass (widget, scrollbarWidgetClass)) 134 if (XtIsSubclass (widget, scrollbarWidgetClass))
@@ -198,9 +203,13 @@ xaw_popup_menu (widget, event)
198} 203}
199 204
200void 205void
206#ifdef PROTOTYPES
207xaw_pop_instance (widget_instance *instance, Boolean up)
208#else
201xaw_pop_instance (instance, up) 209xaw_pop_instance (instance, up)
202 widget_instance *instance; 210 widget_instance *instance;
203 Boolean up; 211 Boolean up;
212#endif
204{ 213{
205 Widget widget = instance->widget; 214 Widget widget = instance->widget;
206 215