summaryrefslogtreecommitdiff
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
commit7071feef82182cd1ae386fd01c0c21ce8891c64d (patch)
treefa19f6c14ee39fa02bdedf6e8ab34bbb619e055f
parentf56fa9c8f6722e023ecdcc33b28eee2c613ceb90 (diff)
downloadlibdom-7071feef82182cd1ae386fd01c0c21ce8891c64d.tar.gz
libdom-7071feef82182cd1ae386fd01c0c21ce8891c64d.tar.bz2
Change to C-style comments
svn path=/trunk/dom/; revision=3562
-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++;
}