chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / shared / conf-parser.h
index 2e01f9ef93fda76cd4f0cffe8cf1333652a611f8..4f94b3b90770e4475451a834d009a4dc3d88bdd1 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooconfparserhfoo
-#define fooconfparserhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -134,5 +133,3 @@ int config_parse_level(const char *filename, unsigned line, const char *section,
                                                                         \
                 return 0;                                               \
         }
-
-#endif