Commit 07e9281f authored by Paul Eggert's avatar Paul Eggert
Browse files

Port window changes to --enable-gcc-warnings

* src/window.c (sanitize_window_sizes): Return void.
This pacifies GCC, and no caller uses the return value anyway.
parent 49e0c276
......@@ -2867,11 +2867,11 @@ resize_root_window (Lisp_Object window, Lisp_Object delta,
horizontal, ignore, pixelwise);
}
Lisp_Object
void
sanitize_window_sizes (Lisp_Object frame, Lisp_Object horizontal)
{
if (!NILP (Fsymbol_function (Qwindow__sanitize_window_sizes)))
return call1 (Qwindow__sanitize_window_sizes, horizontal);
call1 (Qwindow__sanitize_window_sizes, horizontal);
}
......
......@@ -1105,7 +1105,7 @@ extern int window_body_width (struct window *w, bool);
extern void temp_output_buffer_show (Lisp_Object);
extern void replace_buffer_in_windows (Lisp_Object);
extern void replace_buffer_in_windows_safely (Lisp_Object);
extern Lisp_Object sanitize_window_sizes (Lisp_Object, Lisp_Object);
extern void sanitize_window_sizes (Lisp_Object, Lisp_Object);
/* This looks like a setter, but it is a bit special. */
extern void wset_buffer (struct window *, Lisp_Object);
extern bool window_outdated (struct window *);
......
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