Commit 440a42e3 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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.
parent 562dd5e9
2011-06-10 Eli Zaretskii <eliz@gnu.org>
* window.h (resize_frame_windows, resize_window_check)
(delete_deletable_window, resize_root_window)
(resize_frame_windows): Declare prototypes.
* window.c (resize_window_apply): Make definition be "static" to
match the prototype.
2011-06-10 Martin Rudalics <rudalics@gmx.at>
* window.c: Remove declarations of Qwindow_size_fixed,
......
......@@ -3614,7 +3614,7 @@ resize_window_check (struct window *w, int horflag)
This function does not perform any error checks. Make sure you have
run resize_window_check on W before applying this function. */
void
static void
resize_window_apply (struct window *w, int horflag)
{
struct window *c, *p;
......
......@@ -933,5 +933,12 @@ extern void init_window_once (void);
extern void init_window (void);
extern void syms_of_window (void);
extern void keys_of_window (void);
extern void resize_frame_windows (struct frame *, int, int);
extern int resize_window_check (struct window *, int);
extern Lisp_Object delete_deletable_window (Lisp_Object);
extern Lisp_Object resize_root_window (Lisp_Object, Lisp_Object, Lisp_Object,
Lisp_Object);
extern void resize_frame_windows (struct frame *, int, int);
#endif /* not WINDOW_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment