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 { 
    2525
    2626/* These are the routines for manipluating lists */
    2727
    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 */
    2929/* void delete_item(node);     Deletes an arbitrary node */
    3030/* List make_list(node_size);  Creates a new list */
    3131/* List get_node(list);        Allocates a node to be inserted into the list */
    3232/* void free_node(node, list); Deallocates a node from the list */
    3333
     34extern void insert(void *, void *);
     35extern void delete_item(void *);
     36extern List make_list(int);
     37extern List get_node(void *);
     38extern void free_node(void *, void *);