chiark / gitweb /
Prep v224: Major cleanup of unneeded functions and some source files.
[elogind.git] / src / basic / audit.c
index 54148fcf1836a40c0062a649f6ea676d77a9a2b8..b10480638e8221c615e30e212c839d0ac191548a 100644 (file)
@@ -75,6 +75,8 @@ int audit_loginuid_from_pid(pid_t pid, uid_t *uid) {
         return 0;
 }
 
+/// UNNEEDED by elogind
+#if 0
 bool use_audit(void) {
         static int cached_use = -1;
 
@@ -92,3 +94,4 @@ bool use_audit(void) {
 
         return cached_use;
 }
+#endif // 0