Fix --without-x build and pacify --enable-gcc-warnings.
commit34c6b847fbad20b026ee878f6c3b97ab481f6a92
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 28 Jul 2014 08:07:55 +0000 (28 12:07 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 28 Jul 2014 08:07:55 +0000 (28 12:07 +0400)
treef4879868963f8c3ced8511301cc2c2b2d852a039
parenta7947cd8742b236b90d054dbaf3e43ab6677ec0b
Fix --without-x build and pacify --enable-gcc-warnings.
Problems reported in Bug#18122 and Bug#18124.
* frame.c (get_frame_param): Define even if !HAVE_WINDOW_SYSTEM.
(frame_windows_min_size): Now static.
* frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS) [!HAVE_WINDOW_SYSTEM]:
Define as no-op.
(adjust_frame_size): Always declare prototype.
src/ChangeLog
src/frame.c
src/frame.h