]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootspec: don't needlessly inline boot_config_find_entry()
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Mar 2022 16:08:09 +0000 (17:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Mar 2022 14:01:58 +0000 (16:01 +0200)
commit3f8e42c03828ff2da0392111b394fac6f5d3c3da
tree5922e83efd2a3500d5ecfc5a7eb17b8d343eb513
parentd412691a91fc29e2a8204fe4b3494426fbb76cac
bootspec: don't needlessly inline boot_config_find_entry()

the function contains a loop and if expressions and whatnot. Let's
define it as regular function, to make the header easier to read and let
the compiler more freedom on whether to inline this or not.
src/shared/bootspec.c
src/shared/bootspec.h