summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-11-11 21:46:32 +0000
committerJim Meyering <jim@meyering.net>1995-11-11 21:46:32 +0000
commitcc7705fe6fa11817afc97408938c5a0d91d72a84 (patch)
treea0ece034b2d63ac3d25d5eea44086d7ab3ea8ede
parente97b60d16a0f3c97c4c74f7a68ed01c4377e80e4 (diff)
downloadcoreutils-cc7705fe6fa11817afc97408938c5a0d91d72a84.tar.xz
(xmalloc): Declare static.
(xrealloc): Likewise.
-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)