(parse_display_format): minor optimization: get rid of strchr() call.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.c: cosmetics: empty lines, extra braces.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.[ch]: make some functions inline.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.c: 'else' after 'return' is useless.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.c: use variable initialization

...to remove one branch in 'if' statement.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(maybe_cd): argument is boolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(move_selection): variable is boolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.c: clarify condition in 'for' statements.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Sync with gnulib f345edc03da1a81f313dd70305764025bffeb1fa.

Port 'open' and 'close' redefinitions to AIX 7.1.

Do not #undef 'open' and 'close'. AIX 7 does '#define open open64' and
then 'int open64(const char *, int, ...);', which means the declaration
for 'open' gets lost if we later '#undef open'. Discovered while
building grep pretest 2.18.151-1c770 on AIX 7.1, where the compilation
reported the non-fatal error "In function 'openat_proc_name' ...
warning: implicit declaration of function 'open'". In this case the
error is relatively harmless, but in other cases it might not be so
minor.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(panel_get_title_without_hotkey): return pointer to static buffer

...to avoid extra memory allocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(do_enter): make inline and return gboolean instead of int.

(do_enter_on_file_entry_t): rename back to do_enter_on_file_entry and
return gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>