]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/term-util: inline colors_enabled function 17702/head
authorrnhmjoj <rnhmjoj@inventati.org>
Tue, 15 Dec 2020 18:40:30 +0000 (19:40 +0100)
committerrnhmjoj <rnhmjoj@inventati.org>
Tue, 15 Dec 2020 18:40:30 +0000 (19:40 +0100)
commitdcdd9030ba10c485fd65e5f7a993b51ea0757407
tree5b8bbf7eefbcccc894f66f092e2482a821256afd
parent25e4608b8b7fd3530f2cb9b9c58cb20e378e61bc
basic/term-util: inline colors_enabled function

There is no need to cache colors_enabled because the function
is now simply calling get_color_mode, which is already cached.
src/basic/terminal-util.c
src/basic/terminal-util.h