aboutsummaryrefslogtreecommitdiffstats
path: root/enaligned_realloc.c
blob: 9ae1612e7508c891e9437cdebcb3db090c9a7178 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST


void *
libsimple_enaligned_realloc(int status, void *ptr, size_t alignment, size_t n) /* TODO test (ealigned_realloc) */
{
	void *ret = aligned_realloc(ptr, alignment, n);
	if (!ret)
		enprintf(status, "aligned_realloc:");
	return ret;
}


#else
#include "test.h"

int
main(void)
{
	return 0;
}

#endif