/usr/include/diet/skalibs/alloc.h is in skalibs-dev 0.47-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 | /* Public domain. */
#ifndef ALLOC_H
#define ALLOC_H
#include "gccattributes.h"
typedef char aligned_char gccattr_aligned ;
typedef aligned_char *aligned_char_ref, **aligned_char_ref_ref ;
#ifdef USE_DJBALLOC
#define alloc djb_alloc
#define alloc_free djb_alloc_free
#define alloc_re djb_alloc_re
#define alloc_realloc djb_alloc_realloc
#else
#define alloc ska_alloc
#define alloc_free ska_alloc_free
#define alloc_re ska_alloc_re
#define alloc_realloc ska_alloc_realloc
#endif
extern aligned_char_ref alloc (unsigned int) gccattr_malloc ;
extern void alloc_free (void *) ;
extern int alloc_re (void **, unsigned int, unsigned int) ;
extern int alloc_realloc (void **, unsigned int) ;
#endif
|