chiark / gitweb /
Fix service file to match installed elogind binary location
[elogind.git] / src / basic / login-util.h
index 89a337d7c1fc1c39c9745268169628b3dcc032ea..a71ebd4ef4734a8f7779208aa2ef860095676d9b 100644 (file)
@@ -1,3 +1,5 @@
+#pragma once
+
 /***
   This file is part of systemd.
 
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#pragma once
-
 #include <stdbool.h>
 #include <unistd.h>
 
 bool session_id_valid(const char *id);
 
+#if 0 /// UNNEEDED by elogind
 static inline bool logind_running(void) {
         return access("/run/systemd/seats/", F_OK) >= 0;
 }
+#endif // 0