Changeset 306 in svn


Ignore:
Timestamp:
2006-12-08T17:59:00+01:00 (9 years ago)
Author:
Xuefer
Message:

part of [305], make it compiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mem.c

    r305 r306  
    1313#include "xc_shm.h"
    1414#include "align.h"
     15#include "utils.h"
    1516
    1617#ifdef TEST
     
    99100        p = NULL;
    100101        if (mem->avail < realsize) {
    101             TRACE(" oom");
     102            TRACE("%s", " oom");
    102103            break;
    103104        }
     
    128129
    129130        if (b == NULL) {
    130             TRACE(" no fit chunk");
     131            TRACE("%s", " no fit chunk");
    131132            break;
    132133        }
     
    206207        b->next = cur->next;
    207208        cur = b;
    208         TRACE(" combine prev");
     209        TRACE("%s", " combine prev");
    209210    }
    210211
     
    214215        cur->size += b->size;
    215216        cur->next = b->next;
    216         TRACE(" combine next");
     217        TRACE("%s", " combine next");
    217218    }
    218219    TRACE(" -> avail %d (%dKB)", mem->avail, mem->avail / 1024);
Note: See TracChangeset for help on using the changeset viewer.