Newer
Older
barebox / include / xfuncs.h
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 27 Aug 2010 216 bytes xfuncs.h: include linux/types.h to avoid non decleration of size_t
#ifndef __XFUNCS_H
#define __XFUNCS_H

#include <linux/types.h>

void *xmalloc(size_t size);
void *xrealloc(void *ptr, size_t size);
void *xzalloc(size_t size);
char *xstrdup(const char *s);

#endif /* __XFUNCS_H */