diff options
| author | Eli Zaretskii | 2011-06-10 13:16:15 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-06-10 13:16:15 +0300 |
| commit | 440a42e34c0e31a793cf9b667bc95023e8f987ef (patch) | |
| tree | 6e7761860f5c080bb759982e268f0595585f92ec /src | |
| parent | 562dd5e9532d75d18843a37a1e42a1f4398d4823 (diff) | |
| download | emacs-440a42e34c0e31a793cf9b667bc95023e8f987ef.tar.gz emacs-440a42e34c0e31a793cf9b667bc95023e8f987ef.zip | |
Avoid compiler warnings about missing prototypes of window.c functions.
src/window.h (resize_frame_windows, resize_window_check)
(delete_deletable_window, resize_root_window)
(resize_frame_windows): Declare prototypes.
src/ window.c (resize_window_apply): Make definition be "static" to
match the prototype.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/window.c | 2 | ||||
| -rw-r--r-- | src/window.h | 7 |
3 files changed, 17 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1643be47a1a..93e64744d58 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-06-10 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * window.h (resize_frame_windows, resize_window_check) | ||
| 4 | (delete_deletable_window, resize_root_window) | ||
| 5 | (resize_frame_windows): Declare prototypes. | ||
| 6 | |||
| 7 | * window.c (resize_window_apply): Make definition be "static" to | ||
| 8 | match the prototype. | ||
| 9 | |||
| 1 | 2011-06-10 Martin Rudalics <rudalics@gmx.at> | 10 | 2011-06-10 Martin Rudalics <rudalics@gmx.at> |
| 2 | 11 | ||
| 3 | * window.c: Remove declarations of Qwindow_size_fixed, | 12 | * window.c: Remove declarations of Qwindow_size_fixed, |
diff --git a/src/window.c b/src/window.c index 3ee220e1d27..265dafa6b80 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3614,7 +3614,7 @@ resize_window_check (struct window *w, int horflag) | |||
| 3614 | 3614 | ||
| 3615 | This function does not perform any error checks. Make sure you have | 3615 | This function does not perform any error checks. Make sure you have |
| 3616 | run resize_window_check on W before applying this function. */ | 3616 | run resize_window_check on W before applying this function. */ |
| 3617 | void | 3617 | static void |
| 3618 | resize_window_apply (struct window *w, int horflag) | 3618 | resize_window_apply (struct window *w, int horflag) |
| 3619 | { | 3619 | { |
| 3620 | struct window *c, *p; | 3620 | struct window *c, *p; |
diff --git a/src/window.h b/src/window.h index c33179de9ba..158203dc911 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -933,5 +933,12 @@ extern void init_window_once (void); | |||
| 933 | extern void init_window (void); | 933 | extern void init_window (void); |
| 934 | extern void syms_of_window (void); | 934 | extern void syms_of_window (void); |
| 935 | extern void keys_of_window (void); | 935 | extern void keys_of_window (void); |
| 936 | extern void resize_frame_windows (struct frame *, int, int); | ||
| 937 | extern int resize_window_check (struct window *, int); | ||
| 938 | extern Lisp_Object delete_deletable_window (Lisp_Object); | ||
| 939 | extern Lisp_Object resize_root_window (Lisp_Object, Lisp_Object, Lisp_Object, | ||
| 940 | Lisp_Object); | ||
| 941 | extern void resize_frame_windows (struct frame *, int, int); | ||
| 942 | |||
| 936 | 943 | ||
| 937 | #endif /* not WINDOW_H_INCLUDED */ | 944 | #endif /* not WINDOW_H_INCLUDED */ |