about summary refs log tree commit diff
path: root/src/legacy/valloc.c
blob: e48cf2146c9ba65ad9c0e0805bf147d87c1cdf48 (plain) (blame)
1
2
3
4
5
6
7
8
#define _BSD_SOURCE
#include <stdlib.h>
#include <limits.h>

void *valloc(size_t size)
{
	return memalign(PAGE_SIZE, size);
}