Changeset 8485d99 for lib/malloc.c


Ignore:
Timestamp:
08/29/16 16:14:27 (4 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
99be155
Parents:
ee6e802
Message:

Fix files I broke with my automatic relicensing...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/malloc.c

    ree6e802 r8485d99  
    2424 *
    2525 */
     26
     27#ifdef HAVE_CONFIG_H
     28#  include <config.h>
     29#endif
     30#undef malloc
     31
     32#include <sys/types.h>
     33#include <stdlib.h>
     34
     35void *malloc ();
     36
     37/* Allocate an N-byte block of memory from the heap.
     38 * If N is zero, allocate a 1-byte block */
     39
     40void *
     41rpl_malloc(size_t n)
     42{
     43        if (n == 0)
     44                n = 1;
     45        return malloc(n);
     46}
Note: See TracChangeset for help on using the changeset viewer.