aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index 554b4f9..9be342b 100644
--- a/util.c
+++ b/util.c
@@ -7,6 +7,7 @@ xmalloc (size_t s)
char *ret = malloc (s);
if (!ret)
abort ();
+ return ret;
}
void *
@@ -15,4 +16,5 @@ xrealloc (void *p, size_t s)
char *ret = realloc (p, s);
if (!ret)
abort ();
+ return ret;
}