This commit is contained in:
chris
2003-11-04 11:57:45 +00:00
parent fa64b3dd74
commit db4cda4090
5 changed files with 27 additions and 6 deletions

19
util.h Normal file
View File

@@ -0,0 +1,19 @@
/*
* util.h:
* Utility functions
*
* $Id$
*
*/
#ifndef __UTIL_H_ /* include guard */
#define __UTIL_H_
/* util.c */
void *xmalloc(size_t n);
void *xcalloc(size_t n, size_t m);
void *xrealloc(void *w, size_t n);
char *xstrdup(const char *s);
void xfree(void *v);
#endif /* __UTIL_H_ */