repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify the upgrade path handling from PPA.
[deb_libnfs.git]
/
include
/
slist.h
diff --git
a/include/slist.h
b/include/slist.h
index 8bb6ca480cdf2740115510fd8e0e100604714b80..5755ca14e3b6edef9b4488329a417c6bfa3a03a8 100644
(file)
--- a/
include/slist.h
+++ b/
include/slist.h
@@
-18,15
+18,15
@@
#ifndef _LIBNFS_SLIST_H_
#define _LIBNFS_SLIST_H_
#ifndef _LIBNFS_SLIST_H_
#define _LIBNFS_SLIST_H_
-#define
S
LIST_ADD(list, item) \
+#define
LIBNFS_
LIST_ADD(list, item) \
do { \
(item)->next = (*list); \
(*list) = (item); \
} while (0);
do { \
(item)->next = (*list); \
(*list) = (item); \
} while (0);
-#define
SLIST_ADD_END(list, item)
\
+#define
LIBNFS_LIST_ADD_END(list, item)
\
if ((*list) == NULL) { \
if ((*list) == NULL) { \
-
SLIST_ADD((list), (item));
\
+
LIBNFS_LIST_ADD((list), (item));
\
} else { \
void *head = (*list); \
while ((*list)->next) \
} else { \
void *head = (*list); \
while ((*list)->next) \
@@
-36,7
+36,7
@@
(*list) = head; \
}
(*list) = head; \
}
-#define
S
LIST_REMOVE(list, item) \
+#define
LIBNFS_
LIST_REMOVE(list, item) \
if ((*list) == (item)) { \
(*list) = (item)->next; \
} else { \
if ((*list) == (item)) { \
(*list) = (item)->next; \
} else { \