chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / service.h
index 4a7287d82701e12648f4b3f7aa9af9e912cff7cd..5ad09d0acc9304b453e329be1e792db5a33fbe48 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooservicehfoo
-#define fooservicehfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -216,5 +215,3 @@ ServiceResult service_result_from_string(const char *s);
 
 const char* start_limit_action_to_string(StartLimitAction i);
 StartLimitAction start_limit_action_from_string(const char *s);
-
-#endif