Changeset 35 for trunk/src/kmk/lst.lib


Ignore:
Timestamp:
Mar 18, 2003, 4:58:49 AM (22 years ago)
Author:
bird
Message:

emx is kind of working again...

Location:
trunk/src/kmk/lst.lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/lst.lib/lstConcat.c

    r25 r35  
    4545 *      Function to concatentate two lists.
    4646 */
    47 
    4847#include    "lstInt.h"
    4948
     
    119118            list1->lastPtr->nextPtr = list1->firstPtr;
    120119        }
    121         free ((Address)l2);
     120        efree ((Address)l2);
    122121    } else if (list2->firstPtr != NilListNode) {
    123122        /*
  • trunk/src/kmk/lst.lib/lstDestroy.c

    r25 r35  
    4545 *      Nuke a list and all its resources
    4646 */
    47 
    4847#include        "lstInt.h"
    4948
     
    8483        list->lastPtr->nextPtr = NilListNode;
    8584    else {
    86         free ((Address)l);
     85        efree ((Address)l);
    8786        return;
    8887    }
     
    9291             tln = ln->nextPtr;
    9392             (*freeProc) (ln->datum);
    94              free ((Address)ln);
     93             efree ((Address)ln);
    9594        }
    9695    } else {
    9796        for (ln = list->firstPtr; ln != NilListNode; ln = tln) {
    9897             tln = ln->nextPtr;
    99              free ((Address)ln);
     98             efree ((Address)ln);
    10099        }
    101100    }
    102101
    103     free ((Address)l);
     102    efree ((Address)l);
    104103}
  • trunk/src/kmk/lst.lib/lstForEachFrom.c

    r25 r35  
    106106
    107107        if (tln->flags & LN_DELETED) {
    108             free((char *)tln);
     108            efree((char *)tln);
    109109        }
    110110        tln = next;
Note: See TracChangeset for help on using the changeset viewer.