chiark / gitweb /
log: when we log to /dev/console and got disconnected (maybe due to vhangup) reconnect
[elogind.git] / src / shared / audit.h
index 490a0b03208f34904d9c92b662b4f8a286a8aad4..0effc0baa04fccc14a3f5a34ba0418fb6a3960c6 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.
@@ -28,5 +27,3 @@
 
 int audit_session_from_pid(pid_t pid, uint32_t *id);
 int audit_loginuid_from_pid(pid_t pid, uid_t *uid);
-
-#endif