diff options
| author | Paul Eggert | 2011-06-08 14:45:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-08 14:45:17 -0700 |
| commit | c6f072e7331307ee1f3233f6e162dd013b15a258 (patch) | |
| tree | 6666033647a1648658d54c97e971e3a603adfb90 /src | |
| parent | 20ce591249aca6b81d5d528e47d6232e8a831201 (diff) | |
| download | emacs-c6f072e7331307ee1f3233f6e162dd013b15a258.tar.gz emacs-c6f072e7331307ee1f3233f6e162dd013b15a258.zip | |
* window.c (window_body_lines): Now static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/window.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d25f9910a61..704b3e63b28 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-06-08 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * window.c (window_body_lines): Now static. | ||
| 4 | |||
| 3 | * image.c (gif_load): Rename local to avoid shadowing. | 5 | * image.c (gif_load): Rename local to avoid shadowing. |
| 4 | 6 | ||
| 5 | * lisp.h (SAFE_ALLOCA_LISP): Check for integer overflow. | 7 | * 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. */) | |||
| 621 | /* Return the number of lines of W's body. Don't count any mode or | 621 | /* Return the number of lines of W's body. Don't count any mode or |
| 622 | header line of W. */ | 622 | header line of W. */ |
| 623 | 623 | ||
| 624 | int | 624 | static int |
| 625 | window_body_lines (struct window *w) | 625 | window_body_lines (struct window *w) |
| 626 | { | 626 | { |
| 627 | int height = XFASTINT (w->total_lines); | 627 | int height = XFASTINT (w->total_lines); |