X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Faudit.h;h=781866ae1c9af88cd5ccd341bd58baf31b4479a5;hb=093c2cfe3b1ae6081f12927ae7906d90d6623534;hp=f2740bc42ca2a1d5604e150f052dab847e803dff;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
diff --git a/src/shared/audit.h b/src/shared/audit.h
index f2740bc42..781866ae1 100644
--- a/src/shared/audit.h
+++ b/src/shared/audit.h
@@ -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.
@@ -22,8 +21,12 @@
along with systemd; If not, see .
***/
-#include "capability.h"
+#include
+#include
+#include
+
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);