From: Paul Eggert Date: Wed, 8 Jun 2011 21:45:17 +0000 (-0700) Subject: * window.c (window_body_lines): Now static. X-Git-Tag: emacs-pretest-24.0.90~104^2~548^2~58 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6f072e7331307ee1f3233f6e162dd013b15a258;p=emacs.git * window.c (window_body_lines): Now static. --- 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);