summaryrefslogtreecommitdiff
path: root/src/login/logind-inhibit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-inhibit.h')
-rw-r--r--src/login/logind-inhibit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind-inhibit.h b/src/login/logind-inhibit.h
index ed3b2ebcc3..da3d7e736e 100644
--- a/src/login/logind-inhibit.h
+++ b/src/login/logind-inhibit.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foologindinhibithfoo
-#define foologindinhibithfoo
+#pragma once
/***
This file is part of systemd.
@@ -93,5 +92,3 @@ InhibitWhat inhibit_what_from_string(const char *s);
const char *inhibit_mode_to_string(InhibitMode k);
InhibitMode inhibit_mode_from_string(const char *s);
-
-#endif