LYCloset[LYClosetTop] = malloc(len+1); if (!LYCloset[LYClosetTop]) outofmem(__FILE__, "LYAddToCloset"); strcpy(LYCloset[LYClosetTop], str);  LYClosetTop = (LYClosetTop + 1) % LYClosetSize; FREE(LYCloset[LYClosetTop]); return(1);
StrAllocCopy(data, str); HTList_addObject(list, data); while (HTList_count(list) > LYClosetSize) LYRemoveFromCloset(list);
PRIVATE int LYAddToCloset ARGS1(char*, str){    unsigned len = strlen(str);    LYCloset[LYClosetTop] = malloc(len+1);    if (!LYCloset[LYClosetTop])	outofmem(__FILE__, "LYAddToCloset");    strcpy(LYCloset[LYClosetTop], str);    LYClosetTop = (LYClosetTop + 1) % LYClosetSize;    FREE(LYCloset[LYClosetTop]);    return(1);}