chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / shared / list.h
index 9a491b990efe0f024d703c23f7eb9887ceee20c9..47f275a019403c873d0d52341f7ab93fdb120d48 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foolisthfoo
-#define foolisthfoo
+#pragma once
 
 /***
   This file is part of systemd.
 
 #define LIST_FOREACH_AFTER(name,i,p)                                    \
         for ((i) = (p)->name##_next; (i); (i) = (i)->name##_next)
-
-#endif