src/server/ucx/allocator.c

Sat, 11 May 2013 13:28:26 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 11 May 2013 13:28:26 +0200
changeset 63
66442f81f823
parent 36
450d2d5f4735
child 71
069c152f6272
permissions
-rw-r--r--

supports file system ACLs on Solaris

#include <stdlib.h>
#include "allocator.h"

void *ucx_default_malloc(void *ignore, size_t n) {
    return malloc(n);
}

void *ucx_default_calloc(void *ignore, size_t n, size_t size) {
    return calloc(n, size);
}

void *ucx_default_realloc(void *ignore, void *data, size_t n) {
    return realloc(data, n);
}

mercurial