mariadb/linux/os_malloc.c
Bradley C. Kuszmaul 017d4f8cc3 Separate out the common malloc into newbrt/memory.c, and put the os-specific stuff into windows and linux subdirs. Things are broken. Addresses #1343.
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00

23 lines
335 B
C

/* -*- mode: C; c-basic-offset: 4 -*- */
#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
#include "toku_portability.h"
#include <malloc.h>
void *
os_malloc(size_t size)
{
return malloc(size);
}
void *
os_realloc(void *p, size_t size)
{
return realloc(p, size);
}
void
os_free(void* p)
{
free(p);
}