comparison lib/llist.c @ 366:f1e9da78c5dd

Typo fix in comment.
author Rob Landley <rob@landley.net>
date Tue, 05 Jan 2010 10:43:36 -0600
parents aaac01796688
children c2f39708a4c4
comparison
equal deleted inserted replaced
365:8f0b24cc7cd7 366:f1e9da78c5dd
33 *llist = *next; 33 *llist = *next;
34 34
35 return (void *)next; 35 return (void *)next;
36 } 36 }
37 37
38 // Add an entry to the end off a doubly linked list 38 // Add an entry to the end of a doubly linked list
39 struct double_list *dlist_add(struct double_list **list, char *data) 39 struct double_list *dlist_add(struct double_list **list, char *data)
40 { 40 {
41 struct double_list *line = xmalloc(sizeof(struct double_list)); 41 struct double_list *line = xmalloc(sizeof(struct double_list));
42 42
43 line->data = data; 43 line->data = data;