summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index f391170..6930b8a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -37,6 +37,11 @@
void *Malloc(size_t size);
+/* Returns result from realloc(p,size), calling Exit() if it fails.
+*/
+void *Realloc(void *p, size_t size);
+
+
/* Copies a string. The result must be freed.
*/
char *StrCopy(const char *source);