Ticket #36397: patch-list.h.diff
File patch-list.h.diff, 776 bytes (added by stevecheckoway (Stephen Checkoway), 12 years ago) |
---|
-
list.h
old new typedef struct list { 25 25 26 26 /* These are the routines for manipluating lists */ 27 27 28 /* void insert(node list);Inserts a node to the end of a list */28 /* void insert(node, list); Inserts a node to the end of a list */ 29 29 /* void delete_item(node); Deletes an arbitrary node */ 30 30 /* List make_list(node_size); Creates a new list */ 31 31 /* List get_node(list); Allocates a node to be inserted into the list */ 32 32 /* void free_node(node, list); Deallocates a node from the list */ 33 33 34 extern void insert(void *, void *); 35 extern void delete_item(void *); 36 extern List make_list(int); 37 extern List get_node(void *); 38 extern void free_node(void *, void *);