Changeset b628f60 in git for xalloc/omalloc.h


Ignore:
Timestamp:
Oct 6, 2010, 2:44:22 PM (14 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2ce0263a41d094315deac92a72c01b885d3deafc
Parents:
84dda10e7c43a6aa968e529b71d68fa020e56a79
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2010-10-06 14:44:22+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:31+01:00
Message:
xalloc now builds on Mohamed's Mac
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xalloc/omalloc.h

    r84dda1 rb628f60  
    8181  }
    8282}
    83 static inline void *omReallocSize(void *d, size_t /*os*/, size_t ns)
     83static inline void *omReallocSize(void *d, size_t os, size_t ns)
    8484{ if (d==NULL) return omAlloc(ns);
    8585  else
     
    108108  return n;
    109109}
    110 static inline void omFreeSize(void *d, size_t /*s*/)
     110static inline void omFreeSize(void *d, size_t s)
    111111{ if (d!=NULL) { long *dd=(long*)d; dd--; free(dd);}}
    112112
Note: See TracChangeset for help on using the changeset viewer.