From cc7705fe6fa11817afc97408938c5a0d91d72a84 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 11 Nov 1995 21:46:32 +0000 Subject: (xmalloc): Declare static. (xrealloc): Likewise. --- src/sort.c | 4 ++-- 1 file 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) -- cgit v1.2.3-70-g09d2