summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-09-22 12:31:06 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2007-09-22 12:31:06 +0000
commitfb21e068ad55fc128fa0fab53ee3326a9f5fc271 (patch)
treefa19f6c14ee39fa02bdedf6e8ab34bbb619e055f /test
parent02e30c56c2af34dd50e983e817c2415b098abe7a (diff)
downloadlibdom-fb21e068ad55fc128fa0fab53ee3326a9f5fc271.tar.gz
libdom-fb21e068ad55fc128fa0fab53ee3326a9f5fc271.tar.bz2
Change to C-style comments
svn path=/trunk/dom/; revision=3562
Diffstat (limited to 'test')
-rw-r--r--test/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/list.c b/test/list.c
index 18b7d01..3204237 100644
--- a/test/list.c
+++ b/test/list.c
@@ -35,19 +35,19 @@ void list_add(struct list* list, void* data) {
elt->next = NULL;
struct list_elt* tail = list->tail;
- // if tail was set, make its 'next' ptr point to elt
+ /* if tail was set, make its 'next' ptr point to elt */
if (tail != NULL) {
tail->next = elt;
}
- // make elt the new tail
+ /* make elt the new tail */
list->tail = elt;
if (list->head == NULL) {
list->head = elt;
}
- // inc the size of the list
+ /* inc the size of the list */
list->size++;
}