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