Mercurial > emacs
diff src/dispnew.c @ 112023:ac49e05bfcf2
Remove unused declarations
* src/buffer.c: Remove unused declarations.
* src/buffer.h: Likewise.
* src/charset.h: Likewise.
* src/composite.h: Likewise.
* src/dispextern.h: Likewise.
* src/dispnew.c: Likewise.
* src/font.h: Likewise.
* src/fontset.c: Likewise.
* src/fontset.h: Likewise.
* src/intervals.h: Likewise.
* src/keymap.h: Likewise.
* src/lisp.h: Likewise.
* src/syntax.c: Likewise.
* src/syntax.h: Likewise.
* src/termhooks.h: Likewise.
* src/window.h: Likewise.
* src/xsettings.h: Likewise.
* src/xterm.c: Likewise.
* src/xterm.h: Likewise.
* src/chartab.c (sub_char_table_ref): Make static.
* src/dispnew.c (line_hash_code, required_matrix_height)
(required_matrix_width): Likewise.
* src/eval.c (interactive_p, apply_lambda): Likewise.
* src/fns.c (string_make_multibyte, copy_hash_table, hash_clear):
Likewise.
* src/font.c (QCadstyle, QCregistry, font_make_spec)
(font_parse_fcname, font_encode_char, font_at): Likewise.
* src/frame.c (x_frame_get_arg): Likewise.
* src/keymap.c (get_keyelt): Likewise.
* src/lread.c (read_filtered_event): Likewise.
* src/print.c (write_string_1): Likewise.
* src/window.c (delete_window, window_height, window_width)
(foreach_window): Likewise.
* src/xrdb.c (x_get_customization_string, x_get_resource): Likewise.
* src/xterm.c (x_scroll_bar_clear, xembed_set_info)
(xembed_send_message): Likewise.
* src/eval.c (run_hook_list_with_args): Delete.
* src/font.c (font_unparse_gtkname, font_update_lface): Likewise.
* src/terminal.c (get_terminal_param): Likewise.
* src/xterm.c (x_alloc_lighter_color_for_widget): Likewise.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Mon, 27 Dec 2010 18:29:38 +0100 |
parents | 6ce864f1550e |
children | 417b1e4d63cd 7df2e30d72ec |
line wrap: on
line diff
--- a/src/dispnew.c Mon Dec 27 18:23:49 2010 +0100 +++ b/src/dispnew.c Mon Dec 27 18:29:38 2010 +0100 @@ -121,6 +121,8 @@ static void update_frame_line (struct frame *, int); static struct dim allocate_matrices_for_frame_redisplay (Lisp_Object, int, int, int, int *); +static int required_matrix_height (struct window *); +static int required_matrix_width (struct window *); static void allocate_matrices_for_window_redisplay (struct window *); static int realloc_glyph_pool (struct glyph_pool *, struct dim); static void adjust_frame_glyphs (struct frame *); @@ -167,14 +169,8 @@ static int update_window (struct window *, int); static int update_frame_1 (struct frame *, int, int); static void set_window_cursor_after_update (struct window *); -static int row_equal_p (struct window *, struct glyph_row *, - struct glyph_row *, int); static void adjust_frame_glyphs_for_window_redisplay (struct frame *); static void adjust_frame_glyphs_for_frame_redisplay (struct frame *); -static void reverse_rows (struct glyph_matrix *, int, int); -static int margin_glyphs_to_reserve (struct window *, int, Lisp_Object); -static void sync_window_with_frame_matrix_rows (struct window *); -struct window *frame_row_to_window (struct window *, int); /* Non-zero means don't pause redisplay for pending input. (This is @@ -1296,7 +1292,7 @@ /* Return a hash code for glyph row ROW. */ -int +static int line_hash_code (struct glyph_row *row) { int hash = 0; @@ -1882,7 +1878,7 @@ /* Return the required height of glyph matrices for window W. */ -int +static int required_matrix_height (struct window *w) { #ifdef HAVE_WINDOW_SYSTEM @@ -1908,7 +1904,7 @@ /* Return the required width of glyph matrices for window W. */ -int +static int required_matrix_width (struct window *w) { #ifdef HAVE_WINDOW_SYSTEM