aboutsummaryrefslogtreecommitdiffstats
path: root/lib/readline/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readline/xmalloc.c')
-rw-r--r--lib/readline/xmalloc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/readline/xmalloc.c b/lib/readline/xmalloc.c
index 97d8f2e..c77d763 100644
--- a/lib/readline/xmalloc.c
+++ b/lib/readline/xmalloc.c
@@ -77,13 +77,3 @@ xrealloc (pointer, bytes)
memory_error_and_abort ("xrealloc");
return (temp);
}
-
-/* Use this as the function to call when adding unwind protects so we
- don't need to know what free() returns. */
-void
-xfree (string)
- PTR_T string;
-{
- if (string)
- free (string);
-}