Fix build with LTO
authorArkadiy Illarionov <qarkai@gmail.com>
Mon, 4 Mar 2024 22:20:45 +0000 (01:20 +0300)
committerColin Clark <colin.clark@cclark.uk>
Tue, 5 Mar 2024 11:14:42 +0000 (11:14 +0000)
commitcda2e9b6189b19e0123b881d472ec0792014c552
treeaef377d325e92226303570dab80d6747de504c21
parente0b023ebd7ca6bc641dd3c2eee8b0e86cfe0f5e2
Fix build with LTO

* Move structs and some functions to anonymous namespace
* Replace some defines and enums with constants
* Replace macro with inline function
src/bar-exif.cc
src/bar-keywords.cc
src/collect-table.cc
src/layout-config.cc
src/layout-config.h
src/layout.cc
src/view-file/view-file-icon.cc