summaryrefslogtreecommitdiff
path: root/src/libstddjb/alloc-internal.h
blob: 918b5df7557b18705e55f607322e9c180172dee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ISC license. */

#ifndef ALLOC_0_H
#define ALLOC_0_H

#include <skalibs/sysdeps.h>
#include <skalibs/alloc.h>

#ifdef SKALIBS_HASMALLOC0

#include <stdlib.h>

#define alloc_0 (aligned_char_ref)malloc(0)

#else

extern aligned_char_ref alloc_0 ;

#endif

#endif