/[svn]/ircd-hybrid-7.2/src/balloc.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/balloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1012 by michael, Fri Sep 18 10:14:09 2009 UTC revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC
# Line 84  static void heap_garbage_collection(void Line 84  static void heap_garbage_collection(void
84   * \param ptr  Pointer to memory to be freed   * \param ptr  Pointer to memory to be freed
85   * \param size The size of the memory space   * \param size The size of the memory space
86   */   */
87  static inline void  static void
88  free_block(void *ptr, size_t size)  free_block(void *ptr, size_t size)
89  {  {
90  #ifdef HAVE_MMAP  #ifdef HAVE_MMAP
# Line 123  initBlockHeap(void) Line 123  initBlockHeap(void)
123   * \param size Size of block to allocate   * \param size Size of block to allocate
124   * \return Address pointer to allocated data space   * \return Address pointer to allocated data space
125   */   */
126  static inline void *  static void *
127  get_block(size_t size)  get_block(size_t size)
128  {  {
129  #ifdef HAVE_MMAP  #ifdef HAVE_MMAP

Legend:
Removed from v.1012  
changed lines
  Added in v.1013

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26