diff --git a/src/ChangeLog b/src/ChangeLog index d25f9910a61b819e63f45422c3cb0ed50e5428b6..704b3e63b28374f924154aead1fa3b51df61e8a6 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 393a2478ce16b414ba6146b26cd1fe44175b3b5c..493972c7545c10180fa4c3583261973e3143cf05 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);