chiark / gitweb /
Cleaned up more unneeded functions and types in:
[elogind.git] / src / basic / capability.c
index 91ccb27796f2bb74ee0bfd52e3c80592d441b16a..360c1281613848f614f174102c87bd5787426d17 100644 (file)
@@ -96,6 +96,8 @@ unsigned long cap_last_cap(void) {
         return p;
 }
 
+/// UNNEEDED by elogind
+#if 0
 int capability_bounding_set_drop(uint64_t drop, bool right_now) {
         _cleanup_cap_free_ cap_t after_cap = NULL;
         cap_flag_value_t fv;
@@ -176,8 +178,6 @@ finish:
         return r;
 }
 
-/// UNNEEDED by elogind
-#if 0
 static int drop_from_file(const char *fn, uint64_t drop) {
         int r, k;
         uint32_t hi, lo;