From c6f072e7331307ee1f3233f6e162dd013b15a258 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 8 Jun 2011 14:45:17 -0700 Subject: [PATCH] * window.c (window_body_lines): Now static. --- src/ChangeLog | 2 ++ src/window.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d25f9910a61..704b3e63b28 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-06-08 Paul Eggert + * window.c (window_body_lines): Now static. + * image.c (gif_load): Rename local to avoid shadowing. * lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow. diff --git a/src/window.c b/src/window.c index 393a2478ce1..493972c7545 100644 --- a/src/window.c +++ b/src/window.c @@ -621,7 +621,7 @@ WINDOW can be any window and defaults to the selected one. */) /* Return the number of lines of W's body. Don't count any mode or header line of W. */ -int +static int window_body_lines (struct window *w) { int height = XFASTINT (w->total_lines); -- 2.11.4.GIT