diff options
Diffstat (limited to 'lib/xmalloc.h')
-rw-r--r-- | lib/xmalloc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/xmalloc.h b/lib/xmalloc.h new file mode 100644 index 0000000..622b31b --- /dev/null +++ b/lib/xmalloc.h @@ -0,0 +1,12 @@ +#ifndef _xmalloc_h_ +#define _xmalloc_h_ 1 + +#include <sys/types.h> + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +void *xmalloc __P((size_t n)); +void *xrealloc __P((void *p, size_t n)); + +#endif /* _xmalloc_h_ */ |