summaryrefslogtreecommitdiff
path: root/Zend/zend_llist.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-11 15:56:40 +0000
committerZeev Suraski <zeev@php.net>2001-08-11 15:56:40 +0000
commit4f6c95d17abdd3aa983b36117f8a9c67405540e6 (patch)
treea7e92572059f9950d32513d19752138963ee4291 /Zend/zend_llist.c
parentadf89828d20d7ee72b13cd516973fa739c492165 (diff)
downloadphp-git-4f6c95d17abdd3aa983b36117f8a9c67405540e6.tar.gz
Whitespace
Diffstat (limited to 'Zend/zend_llist.c')
-rw-r--r--Zend/zend_llist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c
index e3ac9a6d73..e3e4945fb5 100644
--- a/Zend/zend_llist.c
+++ b/Zend/zend_llist.c
@@ -63,7 +63,7 @@ ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element)
}
-#define DEL_LLIST_ELEMENT(current,l) \
+#define DEL_LLIST_ELEMENT(current, l) \
if (current->prev) {\
current->prev->next = current->next;\
} else {\
@@ -86,7 +86,7 @@ ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare
while (current) {
if (compare(current->data, element)) {
- DEL_LLIST_ELEMENT(current,l);
+ DEL_LLIST_ELEMENT(current, l);
break;
}
current = current->next;
@@ -151,7 +151,7 @@ ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data))
while (element) {
next = element->next;
if (func(element->data)) {
- DEL_LLIST_ELEMENT(element,l);
+ DEL_LLIST_ELEMENT(element, l);
}
element = next;
}