23 void *rs_alloc(
size_t size,
char const *name);
24 void *rs_realloc(
void *ptr,
size_t size,
char const *name);
25 void *rs_alloc_struct0(
size_t size,
char const *name);
27 void rs_bzero(
void *buf,
size_t size);
30 #define rs_alloc_struct(type) \
31 ((type *) rs_alloc_struct0(sizeof(type), #type))
34 # define UNUSED(x) x __attribute__((unused))
35 #elif defined(__LCLINT__) || defined(S_SPLINT_S)