]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(xmalloc): Declare static.
authorJim Meyering <jim@meyering.net>
Sat, 11 Nov 1995 21:46:32 +0000 (21:46 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 11 Nov 1995 21:46:32 +0000 (21:46 +0000)
(xrealloc): Likewise.

src/sort.c

index f6c4f07c20e2177194b4475448d677c327841efb..1631b65ddf86807105141e468f82f6c5b293438b 100644 (file)
@@ -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)