git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2a3270b
)
util: fix comment and clarify argument name in DLIST_DEMOTE()
author
Michael Adam
<obnox@samba.org>
Wed, 26 Aug 2009 10:58:47 +0000
(12:58 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 27 Aug 2009 20:29:22 +0000
(22:29 +0200)
Michael
lib/util/dlinklist.h
patch
|
blob
|
history
diff --git
a/lib/util/dlinklist.h
b/lib/util/dlinklist.h
index 1a4ebb6fa090c7c3eb652ef9e26e87f5691fdc56..693b43dd27e083152b9c6d189c115930872badd0 100644
(file)
--- a/
lib/util/dlinklist.h
+++ b/
lib/util/dlinklist.h
@@
-87,11
+87,11
@@
do { \
}\
} while (0)
-/* demote an element to the end of the list, needs
a tmp pointer
*/
-#define DLIST_DEMOTE(list, p, t
mp
) \
+/* demote an element to the end of the list, needs
the entry type
*/
+#define DLIST_DEMOTE(list, p, t
ype
) \
do { \
DLIST_REMOVE(list, p); \
- DLIST_ADD_END(list, p, t
mp
); \
+ DLIST_ADD_END(list, p, t
ype
); \
} while (0)
/* concatenate two lists - putting all elements of the 2nd list at the