chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / core / bus-errors.h
index a6f055f0996becf3577ba7b6535efcf57e3405c0..04c1b2849d20f2cd5ef858aea0bcbfa742d503a6 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foobuserrorshfoo
-#define foobuserrorshfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -54,5 +53,3 @@ static inline const char *bus_error(const DBusError *e, int r) {
 
         return strerror(-r);
 }
-
-#endif