snapraid/tommyds/tommy.c

19 lines
453 B
C
Raw Normal View History

// SPDX-License-Identifier: BSD-2-Clause
// Copyright (C) 2010 Andrea Mazzoleni
2011-03-01 22:21:30 +01:00
/* redefine the malloc for tommy use */
2011-03-01 22:21:30 +01:00
#define tommy_malloc malloc_nofail
2014-09-26 23:50:01 +02:00
#define tommy_calloc calloc_nofail
2011-03-01 22:21:30 +01:00
#define tommy_free free
#include "os/portable.h"
#include "cmdline/support.h" /* for malloc/calloc_nofail() */
2011-03-01 22:21:30 +01:00
#include "tommyhash.c"
#include "tommyarray.c"
#include "tommyarrayblkof.c"
2014-03-28 21:30:21 +01:00
#include "tommylist.c"
#include "tommytree.c"
2014-03-28 21:30:21 +01:00
#include "tommyhashdyn.c"
2011-03-01 22:21:30 +01:00