aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 43b0080d..cb734edc 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -83,14 +83,6 @@ xrealloc(void *oldptr, size_t nmemb, size_t size)
return (newptr);
}
-void
-xfree(void *ptr)
-{
- if (ptr == NULL)
- fatalx("null pointer");
- free(ptr);
-}
-
int printflike2
xasprintf(char **ret, const char *fmt, ...)
{