diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-12 12:56:46 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-12 12:56:46 -0700 |
commit | 0521f5806bfc9ad55488c26c9808f513b9384ff4 (patch) | |
tree | f2666abe9d10f26fda3b0cac3d6c99fc259513b2 /src/xterm.c | |
parent | ababf900035b6e7373d0a3826fb7003c4c5e8c93 (diff) | |
download | emacs-0521f5806bfc9ad55488c26c9808f513b9384ff4.tar.gz |
Convert function definitions to standard C.
* src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
(_scroll_bar_note_movement): Convert definitions to standard C.
* src/xmenu.c (menu_help_callback, pop_down_menu, xmenu_show):
* src/xfns.c (hack_wm_protocols, x_window, x_window): Likewise.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/xterm.c b/src/xterm.c index c78408382bd..649e5c2d674 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4849,10 +4849,7 @@ x_scroll_bar_create (struct window *w, int top, int left, int width, int height) to move to the very end of the buffer. */ static void -x_scroll_bar_set_handle (bar, start, end, rebuild) - struct scroll_bar *bar; - int start, end; - int rebuild; +x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end, int rebuild) { int dragging = ! NILP (bar->dragging); Window w = bar->x_window; @@ -5294,9 +5291,7 @@ XTjudge_scroll_bars (FRAME_PTR f) mark bits. */ static void -x_scroll_bar_expose (bar, event) - struct scroll_bar *bar; - XEvent *event; +x_scroll_bar_expose (struct scroll_bar *bar, XEvent *event) { Window w = bar->x_window; FRAME_PTR f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); @@ -5396,9 +5391,7 @@ x_scroll_bar_handle_click (struct scroll_bar *bar, XEvent *event, struct input_e mark bits. */ static void -x_scroll_bar_note_movement (bar, event) - struct scroll_bar *bar; - XEvent *event; +x_scroll_bar_note_movement (struct scroll_bar *bar, XEvent *event) { FRAME_PTR f = XFRAME (XWINDOW (bar->window)->frame); |