diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-09-17 00:06:42 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-09-17 00:06:42 -0700 |
commit | b7ad2f7401a22e6189d1b0a0523a3f98d1f70be5 (patch) | |
tree | 70c6aeab8f2284f02e7cfb2b26bf61471d936c3c /src/xterm.h | |
parent | 1893694e3e96560a1b750e257f774e23d3b06836 (diff) | |
download | emacs-b7ad2f7401a22e6189d1b0a0523a3f98d1f70be5.tar.gz |
Don't overuse 'const' in types of locals.
* bidi.c (bidi_count_bytes):
* gtkutil.c, gtkutil.h (xg_event_is_for_menubar)
(xg_event_is_for_scrollbar):
* xselect.c (x_handle_property_notify)
(x_handle_selection_notify, x_handle_dnd_message):
* xsettings.c, xsettings.h (xft_settings_event):
* xterm.c (x_handle_net_wm_state, handle_one_event)
(x_menubar_window_to_frame, x_detect_focus_change)
(construct_mouse_click, note_mouse_movement)
(x_scroll_bar_to_input_event, x_scroll_bar_expose)
(x_scroll_bar_handle_click, x_scroll_bar_note_movement)
(handle_one_xevent, x_handle_net_wm_state):
* xterm.h (x_handle_property_notify, x_handle_selection_notify)
(x_handle_dnd_message):
Avoid unnecessary 'const', typically the second 'const' in
'const foo * const arg', a 'const' that does not affect the API
and doesn't significantly help the human reader.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xterm.h b/src/xterm.h index 8dc86784b09..28b72969972 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -941,8 +941,8 @@ extern void x_wait_for_event (struct frame *, int); /* Defined in xselect.c */ -extern void x_handle_property_notify (const XPropertyEvent * const); -extern void x_handle_selection_notify (const XSelectionEvent * const); +extern void x_handle_property_notify (const XPropertyEvent *); +extern void x_handle_selection_notify (const XSelectionEvent *); extern void x_handle_selection_event (struct input_event *); extern void x_clear_frame_selections (struct frame *); @@ -954,7 +954,7 @@ extern void x_send_client_event (Lisp_Object display, Lisp_Object values); extern int x_handle_dnd_message (struct frame *, - const XClientMessageEvent * const, + const XClientMessageEvent *, struct x_display_info *, struct input_event *); extern int x_check_property_data (Lisp_Object); |