chiark / gitweb /
build-sys: move core/build.h → shared/build.h
[elogind.git] / src / shared / audit.h
index 490a0b03208f34904d9c92b662b4f8a286a8aad4..b4aecffb3057cd245926cec68500d11dbd1c9f69 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooaudithfoo
-#define fooaudithfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -29,4 +28,4 @@
 int audit_session_from_pid(pid_t pid, uint32_t *id);
 int audit_loginuid_from_pid(pid_t pid, uid_t *uid);
 
-#endif
+bool use_audit(void);