Mercurial > emacs
comparison lwlib/ChangeLog @ 109173:33021b778d4d
Change function definition from K&R to prototype. Fix prototype warnings.
* lwlib-Xaw.c (xaw_generic_callback, command_reset)
(xaw_update_one_value): Reformat.
(xaw_update_one_widget): Reformat and remove dead code.
(xaw_scrollbar_scroll, xaw_scrollbar_jump, xaw_create_scrollbar)
(xaw_update_scrollbar): Remove (not used).
(make_dialog): Change from K&R to prototype. Remove dead code.
(xaw_creation_table): Remove scrollbar entry.
* lwlib-Xlw.c (x_print_complete_resource_name): Change from K&R to
prototype.
(xlw_update_one_value): Reformat.
* lwlib-Xm.c (x_print_complete_resource_name)
(make_destroyed_instance, free_destroyed_instance, first_child)
(lw_motif_widget_p, resource_motif_string, destroy_all_children)
(xm_arm_callback, xm_update_label, xm_update_list)
(xm_update_pushbutton, xm_update_cascadebutton)
(xm_update_toggle, xm_update_radiobox, make_menu_in_widget)
(update_one_menu_entry, xm_update_menu, xm_update_text)
(xm_update_text_field, xm_update_one_widget)
(xm_update_one_value, activate_button, dialog_key_cb)
(make_dialog, mark_dead_instance_destroyed)
(find_matching_instance, recenter_widget, recycle_instance)
(xm_create_dialog, make_menubar, remove_grabs, make_popup_menu)
(make_main, xm_destroy_instance, xm_popup_menu)
(set_min_dialog_size, xm_pop_instance, do_call)
(xm_internal_update_other_instances, xm_generic_callback)
(xm_nosel_callback, xm_pull_down_callback, xm_pop_down_callback)
(xm_set_keyboard_focus, xm_set_main_areas, xm_manage_resizing): Change
from K&R to prototype.
* lwlib-int.h (widget_creation_function): Fix prototype.
* lwlib.c (allocate_widget_info, lw_register_widget): Change from K&R
to prototype.
(lw_internal_update_other_instances, merge_widget_value): Reformat.
* xlwmenu.c (size_menu_item): Change from K&R to prototype.
Change label_width and height to int.
(draw_arrow, draw_shadow_rectangle, draw_shadow_rhombus)
(draw_separator, display_menu, fit_to_screen, motion_event_is_in_menu)
(map_event_to_widget_value): Reformat.
(display_menu_item): Change from K&R to prototype.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Thu, 08 Jul 2010 12:29:51 +0200 |
parents | d8a16c4fa9b1 |
children | b7e047772c64 |
comparison
equal
deleted
inserted
replaced
109172:834e32d50d35 | 109173:33021b778d4d |
---|---|
1 2010-07-08 Jan Djärv <jan.h.d@swipnet.se> | |
2 | |
3 * xlwmenu.c (size_menu_item): Change from K&R to prototype. | |
4 Change label_width and height to int. | |
5 (draw_arrow, draw_shadow_rectangle, draw_shadow_rhombus) | |
6 (draw_separator, display_menu, fit_to_screen, motion_event_is_in_menu) | |
7 (map_event_to_widget_value): Reformat. | |
8 (display_menu_item): Change from K&R to prototype. | |
9 | |
10 * lwlib.c (allocate_widget_info, lw_register_widget): Change from K&R | |
11 to prototype. | |
12 (lw_internal_update_other_instances, merge_widget_value): Reformat. | |
13 | |
14 * lwlib-int.h (widget_creation_function): Fix prototype. | |
15 | |
16 * lwlib-Xm.c (x_print_complete_resource_name) | |
17 (make_destroyed_instance, free_destroyed_instance, first_child) | |
18 (lw_motif_widget_p, resource_motif_string, destroy_all_children) | |
19 (xm_arm_callback, xm_update_label, xm_update_list) | |
20 (xm_update_pushbutton, xm_update_cascadebutton) | |
21 (xm_update_toggle, xm_update_radiobox, make_menu_in_widget) | |
22 (update_one_menu_entry, xm_update_menu, xm_update_text) | |
23 (xm_update_text_field, xm_update_one_widget) | |
24 (xm_update_one_value, activate_button, dialog_key_cb) | |
25 (make_dialog, mark_dead_instance_destroyed) | |
26 (find_matching_instance, recenter_widget, recycle_instance) | |
27 (xm_create_dialog, make_menubar, remove_grabs, make_popup_menu) | |
28 (make_main, xm_destroy_instance, xm_popup_menu) | |
29 (set_min_dialog_size, xm_pop_instance, do_call) | |
30 (xm_internal_update_other_instances, xm_generic_callback) | |
31 (xm_nosel_callback, xm_pull_down_callback, xm_pop_down_callback) | |
32 (xm_set_keyboard_focus, xm_set_main_areas, xm_manage_resizing): Change | |
33 from K&R to prototype. | |
34 | |
35 * lwlib-Xlw.c (x_print_complete_resource_name): Change from K&R to | |
36 prototype. | |
37 (xlw_update_one_value): Reformat. | |
38 | |
39 * lwlib-Xaw.c (xaw_generic_callback, command_reset) | |
40 (xaw_update_one_value): Reformat. | |
41 (xaw_update_one_widget): Reformat and remove dead code. | |
42 (xaw_scrollbar_scroll, xaw_scrollbar_jump, xaw_create_scrollbar) | |
43 (xaw_update_scrollbar): Remove (not used). | |
44 (make_dialog): Change from K&R to prototype. Remove dead code. | |
45 (xaw_creation_table): Remove scrollbar entry. | |
46 | |
1 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> | 47 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> |
2 | 48 |
3 * lwlib.c (allocate_widget_instance, get_widget_info) | 49 * lwlib.c (allocate_widget_instance, get_widget_info) |
4 (get_widget_instance, find_instance, set_one_value) | 50 (get_widget_instance, find_instance, set_one_value) |
5 (update_one_widget_instance, update_all_widget_values) | 51 (update_one_widget_instance, update_all_widget_values) |