diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-05-03 11:15:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-05-03 11:17:32 -0700 |
commit | ef1deb48f4be14956c2fcd5fce947bb301134cf9 (patch) | |
tree | 010dde0e5680ea8ed762eaf8cc25a05514209c01 /lwlib/lwlib-Xlw.h | |
parent | 8a6521260dc650b4b713ea8bc71348cbe730f6e4 (diff) | |
download | emacs-ef1deb48f4be14956c2fcd5fce947bb301134cf9.tar.gz |
More porting to GCC 8 of --enable-gcc-warnings
* 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]:
No longer const.
* src/emacs-module.c: Ignore -Wcast-function-type.
Diffstat (limited to 'lwlib/lwlib-Xlw.h')
-rw-r--r-- | lwlib/lwlib-Xlw.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lwlib/lwlib-Xlw.h b/lwlib/lwlib-Xlw.h index 2d38eb7be66..b0790dc3a59 100644 --- a/lwlib/lwlib-Xlw.h +++ b/lwlib/lwlib-Xlw.h @@ -15,15 +15,13 @@ xlw_update_one_widget (widget_instance* instance, Widget widget, void xlw_update_one_value (widget_instance* instance, Widget widget, - widget_value* val) - ATTRIBUTE_CONST; + widget_value* val); void xlw_destroy_instance (widget_instance* instance); void -xlw_pop_instance (widget_instance* instance, Boolean up) - ATTRIBUTE_CONST; +xlw_pop_instance (widget_instance* instance, Boolean up); void xlw_popup_menu (Widget widget, XEvent * event); |