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.
This commit is contained in:
parent
562dd5e953
commit
440a42e34c
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue