]> git.ipfire.org Git - thirdparty/systemd.git/commit
errno-util: rework ERRNO_IS_RESOURCE() from macro into static inline function
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Apr 2019 17:39:12 +0000 (19:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Apr 2019 18:03:38 +0000 (20:03 +0200)
commit7f000106012f2e641b5fd0604f6668e61a0f44c7
tree60df2602db0db512282361c03135db18bc82204d
parent916a9ec7c6ad0e58a44457f9ea832f16350f5b74
errno-util: rework ERRNO_IS_RESOURCE() from macro into static inline function

No technical reason, except that later on we want to add a new
ERRNO_IS() which uses the parameter twice and where we want to avoid
double evaluation, and where we'd like to keep things in the same style.
src/basic/errno-util.h