From: Paul Eggert Date: Wed, 9 Mar 2011 07:02:55 +0000 (-0800) Subject: * xterm.c: (x_shift_glyphs_for_insert, XTflash, XTring_bell): X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~605^2^2~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cdf4ba58eb200f81447bedabab41eeb84549061b;p=emacs.git * xterm.c: (x_shift_glyphs_for_insert, XTflash, XTring_bell): (x_calc_absolute_position): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index 667a7ba2b15..dd88e961a51 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,6 +4,8 @@ * xterm.c (x_copy_dpy_color, x_focus_on_frame, x_unfocus_frame): Remove unused functions. + (x_shift_glyphs_for_insert, XTflash, XTring_bell): + (x_calc_absolute_position): Now static. * xfaces.c (clear_face_cache, Fx_list_fonts, Fface_font): Rename or move locals to avoid shadowing. diff --git a/src/xterm.c b/src/xterm.c index 49553e3f1e0..beb215b5680 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2886,7 +2886,7 @@ x_draw_glyph_string (struct glyph_string *s) /* Shift display to make room for inserted glyphs. */ -void +static void x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) { XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), FRAME_X_WINDOW (f), @@ -2990,7 +2990,7 @@ timeval_subtract (struct timeval *result, struct timeval x, struct timeval y) return x.tv_sec < y.tv_sec; } -void +static void XTflash (struct frame *f) { BLOCK_INPUT; @@ -3165,7 +3165,7 @@ XTtoggle_invisible_pointer (FRAME_PTR f, int invisible) /* Make audible bell. */ -void +static void XTring_bell (struct frame *f) { if (FRAME_X_DISPLAY (f)) @@ -8098,7 +8098,7 @@ xim_close_dpy (struct x_display_info *dpyinfo) /* Calculate the absolute position in frame F from its current recorded position values and gravity. */ -void +static void x_calc_absolute_position (struct frame *f) { int flags = f->size_hint_flags;