summaryrefslogtreecommitdiff
path: root/src/basic/capability-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-11 17:26:30 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commitc5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe (patch)
treed2610dc100e2b675389ccdc7ef3afc3ec162fce0 /src/basic/capability-util.c
parent756c392103bc01d409c1760146ac2df7dd8f8ede (diff)
Prep v228: Condense elogind source masks (1/5)
Although having a two line mask like /// UNNEEDED by elogind #if 0 it is much more easier to read (and patch!) if those two lines were condense into a one-line mask start like #if 0 /// UNNEEDED by elogind
Diffstat (limited to 'src/basic/capability-util.c')
-rw-r--r--src/basic/capability-util.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/basic/capability-util.c b/src/basic/capability-util.c
index e261e4613..10ff16e42 100644
--- a/src/basic/capability-util.c
+++ b/src/basic/capability-util.c
@@ -34,8 +34,7 @@
#include "parse-util.h"
#include "util.h"
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int have_effective_cap(int value) {
_cleanup_cap_free_ cap_t cap;
cap_flag_value_t fv;
@@ -98,8 +97,7 @@ unsigned long cap_last_cap(void) {
return p;
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int capability_bounding_set_drop(uint64_t drop, bool right_now) {
_cleanup_cap_free_ cap_t after_cap = NULL;
cap_flag_value_t fv;