From: Jim Meyering Date: Sat, 11 Nov 1995 21:46:32 +0000 (+0000) Subject: (xmalloc): Declare static. X-Git-Tag: TEXTUTILS-1_13F~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7705fe6fa11817afc97408938c5a0d91d72a84;p=thirdparty%2Fcoreutils.git (xmalloc): Declare static. (xrealloc): Likewise. --- diff --git a/src/sort.c b/src/sort.c index f6c4f07c20..1631b65ddf 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)