Ticket #36397: patch-prio_list.c.diff

File patch-prio_list.c.diff, 567 bytes (added by stevecheckoway (Stephen Checkoway), 12 years ago)
  • prio_list.c

    old new typedef struct prio_list { 
    2525 * checks for inserting into the head or tail, and then proceeds sequentially.
    2626 * Thus, it is worst case linear, but for most cases constant time (right). */
    2727
    28 prio_insert(node, list, desc)
    29 Prio_list node;
    30 Prio_list list;
    31 Boolean desc;
     28void prio_insert(void *node_, void *list_, Boolean desc)
    3229{
     30  Prio_list node = node_;
     31  Prio_list list = list_;
    3332  Prio_list p;
    3433
    3534  /* Check nil and head of list */