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

#ifndef ALLOC_H
#define 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 (void **, size_t) ;

#endif