mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-26 20:32:05 +03:00
405e2321a8
Clean up many compiler warnings. svn path=/import/netsurf/; revision=88
21 lines
495 B
C
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
|