aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/skalibs/alloc.h
blob: b5c0cecac1ce42fca6a5a7887c4084b8dea3ac6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ISC license. */

#ifndef SKALIBS_ALLOC_H
#define SKALIBS_ALLOC_H

#include <stdlib.h>

#include <skalibs/gccattributes.h>

extern void *alloc (size_t) ;
#define alloc_free(p) free(p)

#define alloc_re(p, old, new) alloc_realloc(p, new)
extern int alloc_realloc (char **, size_t) ;

#endif