diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-08-09 10:48:47 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-08-09 18:01:04 +0200 |
commit | d1e8e8b5ae3533a0a24006029872a98f2b9283fa (patch) | |
tree | cc6dbb55b69230cf559084fbead2b49a8b685732 /mkosi.presets/system/mkosi.repart/12-usr-verity-sig.conf | |
parent | Merge pull request #28728 from yuwata/fstab-no (diff) | |
download | systemd-d1e8e8b5ae3533a0a24006029872a98f2b9283fa.tar.xz systemd-d1e8e8b5ae3533a0a24006029872a98f2b9283fa.zip |
tree-wide: drop _pure_ + _const_ from local, static functions
This is supposed to be a help for compilers to apply optimizations on
functions where they can't determine whether they are const/pure on
their own. For static, local functions the compiler can do this on its
own easily however, hence the decoration with pure/const is just noise.
Let's drop it, and let the compiler to its thing better.
(Use it for exported functions, since compilers can't 'reach-over' into
other modules to determine if they are pure, except if LTO is used)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions