netsurf/utils/utils.h
James Bursa 405e2321a8 [project @ 2003-01-07 23:15:23 by bursa]
Clean up many compiler warnings.

svn path=/import/netsurf/; revision=88
2003-01-07 23:15:23 +00:00

21 lines
495 B
C

/**
* $Id: utils.h,v 1.4 2003/01/07 23:15:23 bursa Exp $
*/
#ifndef _NETSURF_RENDER_UTILS_H_
#define _NETSURF_RENDER_UTILS_H_
#include <stdlib.h>
void die(const char * const error);
char * strip(char * const s);
int whitespace(const char * str);
void * xcalloc(const size_t n, const size_t size);
void * xrealloc(void * p, const size_t size);
void xfree(void* p);
char * xstrdup(const char * const s);
char * load(const char * const path);
char * squash_whitespace(const char * s);
#endif