aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-06-10 13:16:15 +0300
committerEli Zaretskii2011-06-10 13:16:15 +0300
commit440a42e34c0e31a793cf9b667bc95023e8f987ef (patch)
tree6e7761860f5c080bb759982e268f0595585f92ec
parent562dd5e9532d75d18843a37a1e42a1f4398d4823 (diff)
downloademacs-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.
-rw-r--r--src/ChangeLog9
-rw-r--r--src/window.c2
-rw-r--r--src/window.h7
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 @@
12011-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
12011-06-10 Martin Rudalics <rudalics@gmx.at> 102011-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. */
3617void 3617static void
3618resize_window_apply (struct window *w, int horflag) 3618resize_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);
933extern void init_window (void); 933extern void init_window (void);
934extern void syms_of_window (void); 934extern void syms_of_window (void);
935extern void keys_of_window (void); 935extern void keys_of_window (void);
936extern void resize_frame_windows (struct frame *, int, int);
937extern int resize_window_check (struct window *, int);
938extern Lisp_Object delete_deletable_window (Lisp_Object);
939extern Lisp_Object resize_root_window (Lisp_Object, Lisp_Object, Lisp_Object,
940 Lisp_Object);
941extern void resize_frame_windows (struct frame *, int, int);
942
936 943
937#endif /* not WINDOW_H_INCLUDED */ 944#endif /* not WINDOW_H_INCLUDED */