From ccc7be94d73afce4295b6ee7eaa388d1cd930926 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 23 Sep 2014 09:07:23 -0700 Subject: [PATCH] * dispextern.h, xdisp.c (window_box_right_offset): Now static. --- src/ChangeLog | 4 ++++ src/dispextern.h | 1 - src/xdisp.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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. */ -- 2.39.5