summaryrefslogtreecommitdiff
path: root/src/shared/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/list.h')
-rw-r--r--src/shared/list.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/list.h b/src/shared/list.h
index 9a491b990e..47f275a019 100644
--- a/src/shared/list.h
+++ b/src/shared/list.h
@@ -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.
@@ -124,5 +123,3 @@
#define LIST_FOREACH_AFTER(name,i,p) \
for ((i) = (p)->name##_next; (i); (i) = (i)->name##_next)
-
-#endif