chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / shared / strv.h
index 635e92b728ed551142fbf0ba45a2cec502b3bd26..ae4e31f14c4246512ff50e5c9dafe54322beb141 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foostrvhfoo
-#define foostrvhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -80,5 +79,3 @@ bool strv_overlap(char **a, char **b);
 
 #define STRV_FOREACH_BACKWARDS(s, l)            \
         for (; (l) && ((s) >= (l)); (s)--)
-
-#endif