diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-11 21:46:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-11 21:46:32 +0000 |
commit | cc7705fe6fa11817afc97408938c5a0d91d72a84 (patch) | |
tree | a0ece034b2d63ac3d25d5eea44086d7ab3ea8ede /src | |
parent | e97b60d16a0f3c97c4c74f7a68ed01c4377e80e4 (diff) | |
download | coreutils-cc7705fe6fa11817afc97408938c5a0d91d72a84.tar.xz |
(xmalloc): Declare static.
(xrealloc): Likewise.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 4 |
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) |