summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index f6c4f07c2..1631b65dd 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -253,7 +253,7 @@ cleanup (void)
/* Allocate N bytes of memory dynamically, with error checking. */
-char *
+static char *
xmalloc (unsigned int n)
{
char *p;
@@ -273,7 +273,7 @@ xmalloc (unsigned int n)
If P is NULL, run xmalloc.
If N is 0, run free and return NULL. */
-char *
+static char *
xrealloc (char *p, unsigned int n)
{
if (p == 0)