chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / condition.h
index 2d1f2cd17e57c28f5f6b5c9d3c3b87ea0264d650..3dca432f772abcf0ca875eb13ea569b0054ec310 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooconditionhfoo
-#define fooconditionhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -66,5 +65,3 @@ void condition_dump_list(Condition *c, FILE *f, const char *prefix);
 
 const char* condition_type_to_string(ConditionType t);
 int condition_type_from_string(const char *s);
-
-#endif