From: Paul Eggert Date: Tue, 23 Sep 2014 16:07:23 +0000 (-0700) Subject: * dispextern.h, xdisp.c (window_box_right_offset): Now static. X-Git-Tag: emacs-25.0.90~2635^2~679^2~244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ccc7be94d73afce4295b6ee7eaa388d1cd930926;p=emacs.git * dispextern.h, xdisp.c (window_box_right_offset): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index 63d732c8d2c..7e1768e2cda 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-09-23 Paul Eggert + + * dispextern.h, xdisp.c (window_box_right_offset): Now static. + 2014-09-23 Dmitry Antipov Use known length of a Lisp string to copy it faster. diff --git a/src/dispextern.h b/src/dispextern.h index 99396b1deef..81e36d7b3c6 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3176,7 +3176,6 @@ int window_box_width (struct window *, enum glyph_row_area); int window_box_left (struct window *, enum glyph_row_area); int window_box_left_offset (struct window *, enum glyph_row_area); int window_box_right (struct window *, enum glyph_row_area); -int window_box_right_offset (struct window *, enum glyph_row_area); int estimate_mode_line_height (struct frame *, enum face_id); int move_it_to (struct it *, ptrdiff_t, int, int, int, int); void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, diff --git a/src/xdisp.c b/src/xdisp.c index 18ba3319f32..ba513644484 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1144,7 +1144,7 @@ window_box_left_offset (struct window *w, enum glyph_row_area area) area AREA of window W. ANY_AREA means return the right edge of the whole window, to the left of the right fringe of W. */ -int +static int window_box_right_offset (struct window *w, enum glyph_row_area area) { /* Don't return more than the window's pixel width. */