]> git.eshelyaron.com Git - emacs.git/commitdiff
* window.c (window_body_lines): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 21:45:17 +0000 (14:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Jun 2011 21:45:17 +0000 (14:45 -0700)
src/ChangeLog
src/window.c

index d25f9910a61b819e63f45422c3cb0ed50e5428b6..704b3e63b28374f924154aead1fa3b51df61e8a6 100644 (file)
@@ -1,5 +1,7 @@
 2011-06-08  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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.
index 393a2478ce16b414ba6146b26cd1fe44175b3b5c..493972c7545c10180fa4c3583261973e3143cf05 100644 (file)
@@ -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);