gui: Reorder functions.
authorAndre Noll <maan@systemlinux.org>
Sat, 29 Mar 2014 10:34:02 +0000 (11:34 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:48:54 +0000 (15:48 +0200)
commite5d3cf2538f6fcb6a6f5271736c5e5b3dea4e7b1
tree1c1934f4432f042aea7054fb9788ec0e86d557cb
parent40659c0bb0602d4f2268bad6d2579d86e1b62289
gui: Reorder functions.

As a preparation for the removal of do_select() we need various
functions of gui.c to be in a different order. Specifically,
input_post_select() will soon call handle_command(), so the latter
function will need to be declared before the former.

Patches which move functions around are generally hard to
read, so this commit performs pure code movement only. However,
as exec_and_display_cmd() still calls do_select() we introduce a
temporary forward declaration for do_select(). It will be removed
in the next patch.
gui.c