chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
job: print the "OK" status messages in normal green
[elogind.git]
/
src
/
shared
/
list.h
diff --git
a/src/shared/list.h
b/src/shared/list.h
index 9a491b990efe0f024d703c23f7eb9887ceee20c9..47f275a019403c873d0d52341f7ab93fdb120d48 100644
(file)
--- a/
src/shared/list.h
+++ b/
src/shared/list.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foolisthfoo
-#define foolisthfoo
+#pragma once
/***
This file is part of systemd.
/***
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)
#define LIST_FOREACH_AFTER(name,i,p) \
for ((i) = (p)->name##_next; (i); (i) = (i)->name##_next)
-
-#endif