diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-30 09:14:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-06-30 09:14:22 -0700 |
commit | 1d71c1d9dea59dde3b7a868f427226fb61132dfb (patch) | |
tree | 8c9d61979eee210dd406ccd757221c05421703ee /lwlib/lwlib-Xaw.h | |
parent | 16b6e7f29bca991ca4620e476f3d5ca2d1a09014 (diff) | |
download | emacs-1d71c1d9dea59dde3b7a868f427226fb61132dfb.tar.gz |
Fix minor problems found by static checking.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
Now const.
* src/widget.c (resize_cb): Remove unused local.
Diffstat (limited to 'lwlib/lwlib-Xaw.h')
-rw-r--r-- | lwlib/lwlib-Xaw.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lwlib/lwlib-Xaw.h b/lwlib/lwlib-Xaw.h index cf231270121..363334b575e 100644 --- a/lwlib/lwlib-Xaw.h +++ b/lwlib/lwlib-Xaw.h @@ -15,16 +15,17 @@ void xaw_update_one_widget (widget_instance *, Widget, widget_value *, Boolean); void -xaw_update_one_value (widget_instance *, Widget, widget_value *); +xaw_update_one_value (widget_instance *, Widget, widget_value *) + ATTRIBUTE_CONST; void xaw_destroy_instance (widget_instance *); void -xaw_popup_menu (Widget, XEvent *); +xaw_popup_menu (Widget, XEvent *) + ATTRIBUTE_CONST; void xaw_pop_instance (widget_instance *, Boolean); #endif /* LWLIB_XAW_H */ - |