summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'list.c')
-rw-r--r--list.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/list.c b/list.c
index b2c1580..c39eb96 100644
--- a/list.c
+++ b/list.c
@@ -145,27 +145,6 @@ int main(void)
listitems(mainlist);
printf("DELETING.\n");
-
-/*
- delclient: entry removed. item = 0x28201040, *mainlist = 0x28201050
- in listitems: mainlist = 0x28201050
- item #1 (stored at 0x28201050): 3
- item #2 (stored at 0x28201030): 1
-
- Removing last item...
-
- next == NULL
- prev == *mainlist
-
- delclient: entry removed. item = 0x28201030, *mainlist = 0x28201050
- in listitems: mainlist = 0x28201050
- item #1 (stored at 0x28201050): 3
- item #2 (stored at 0x28201030): 1
-
- delclient: first entry removed.
- in listitems: mainlist = 0x28201030
- item #1 (stored at 0x28201030): 1
-*/
delitem(&mainlist, item2);
listitems(mainlist);