summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2002-11-21 10:58:13 +0000
committerDave Love <fx@gnu.org>2002-11-21 10:58:13 +0000
commit207c13a78f0791333ca476e7ad1518d65f0d433d (patch)
tree845f8f31b2af865681ac30f12ec39ae6d246b72d /lwlib
parentf4df536d0abea71ac9f816b13d745db05d6a0345 (diff)
downloademacs-207c13a78f0791333ca476e7ad1518d65f0d433d.tar.gz
Provide ISO C arglists for functions
with Boolean args.
Diffstat (limited to 'lwlib')
-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 @@
+2002-11-21 Dave Love <fx@gnu.org>
+
+ * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions
+ with Boolean args.
+
2002-11-20 Dave Love <fx@gnu.org>
* 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)
#endif
void
+#ifdef PROTOTYPES
+xaw_update_one_widget (widget_instance *instance, Widget widget,
+ widget_value *val, Boolean deep_p)
+#else
xaw_update_one_widget (instance, widget, val, deep_p)
widget_instance *instance;
Widget widget;
widget_value *val;
Boolean deep_p;
+#endif
{
#if 0
if (XtIsSubclass (widget, scrollbarWidgetClass))
@@ -198,9 +203,13 @@ xaw_popup_menu (widget, event)
}
void
+#ifdef PROTOTYPES
+xaw_pop_instance (widget_instance *instance, Boolean up)
+#else
xaw_pop_instance (instance, up)
widget_instance *instance;
Boolean up;
+#endif
{
Widget widget = instance->widget;