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