diff options
Diffstat (limited to 'src/gallium/auxiliary/util')
| -rw-r--r-- | src/gallium/auxiliary/util/u_mm.c | 12 | ||||
| -rw-r--r-- | src/gallium/auxiliary/util/u_mm.h | 12 | 
2 files changed, 12 insertions, 12 deletions
| diff --git a/src/gallium/auxiliary/util/u_mm.c b/src/gallium/auxiliary/util/u_mm.c index 0f51dd5977..592ace00fc 100644 --- a/src/gallium/auxiliary/util/u_mm.c +++ b/src/gallium/auxiliary/util/u_mm.c @@ -31,7 +31,7 @@  void -mmDumpMemInfo(const struct mem_block *heap) +u_mmDumpMemInfo(const struct mem_block *heap)  {     debug_printf("Memory heap %p:\n", (void *)heap);     if (heap == 0) { @@ -58,7 +58,7 @@ mmDumpMemInfo(const struct mem_block *heap)  }  struct mem_block * -mmInit(int ofs, int size) +u_mmInit(int ofs, int size)  {     struct mem_block *heap, *block; @@ -165,7 +165,7 @@ SliceBlock(struct mem_block *p,  struct mem_block * -mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch) +u_mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch)  {     struct mem_block *p;     const int mask = (1 << align2)-1; @@ -198,7 +198,7 @@ mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch)  struct mem_block * -mmFindBlock(struct mem_block *heap, int start) +u_mmFindBlock(struct mem_block *heap, int start)  {     struct mem_block *p; @@ -237,7 +237,7 @@ Join2Blocks(struct mem_block *p)  }  int -mmFreeMem(struct mem_block *b) +u_mmFreeMem(struct mem_block *b)  {     if (!b)        return 0; @@ -266,7 +266,7 @@ mmFreeMem(struct mem_block *b)  void -mmDestroy(struct mem_block *heap) +u_mmDestroy(struct mem_block *heap)  {     struct mem_block *p; diff --git a/src/gallium/auxiliary/util/u_mm.h b/src/gallium/auxiliary/util/u_mm.h index b226b101cb..ce20e48763 100644 --- a/src/gallium/auxiliary/util/u_mm.h +++ b/src/gallium/auxiliary/util/u_mm.h @@ -49,7 +49,7 @@ struct mem_block {   * input: total size in bytes   * return: a heap pointer if OK, NULL if error   */ -extern struct mem_block *mmInit(int ofs, int size); +extern struct mem_block *u_mmInit(int ofs, int size);  /**   * Allocate 'size' bytes with 2^align2 bytes alignment, @@ -61,7 +61,7 @@ extern struct mem_block *mmInit(int ofs, int size);   *		startSearch = linear offset from start of heap to begin search   * return: pointer to the allocated block, 0 if error   */ -extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, int align2,  +extern struct mem_block *u_mmAllocMem(struct mem_block *heap, int size, int align2,                               int startSearch);  /** @@ -69,23 +69,23 @@ extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, int align2   * input: pointer to a block   * return: 0 if OK, -1 if error   */ -extern int mmFreeMem(struct mem_block *b); +extern int u_mmFreeMem(struct mem_block *b);  /**   * Free block starts at offset   * input: pointer to a heap, start offset   * return: pointer to a block   */ -extern struct mem_block *mmFindBlock(struct mem_block *heap, int start); +extern struct mem_block *u_mmFindBlock(struct mem_block *heap, int start);  /**   * destroy MM   */ -extern void mmDestroy(struct mem_block *mmInit); +extern void u_mmDestroy(struct mem_block *mmInit);  /**   * For debuging purpose.   */ -extern void mmDumpMemInfo(const struct mem_block *mmInit); +extern void u_mmDumpMemInfo(const struct mem_block *mmInit);  #endif | 
