summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-03-02 03:44:49 +0000
committerJim Meyering <jim@meyering.net>2001-03-02 03:44:49 +0000
commitcfd53be2c8e7b0ef5961d1a10c400054f43a2b07 (patch)
treec6fff57c94e44032bf2f3ad4e58b299936b4750a
parente3093d28d903b6f5447522b38f592225e05a9dcb (diff)
downloadcoreutils-cfd53be2c8e7b0ef5961d1a10c400054f43a2b07.tar.xz
(eolchar, trim_trailing_blanks): Now static.
-rw-r--r--src/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index 127561e7e..7c59b6721 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -119,7 +119,7 @@ static int hard_LC_TIME;
enum blanktype { bl_start, bl_end, bl_both };
/* The character marking end of line. Default to \n. */
-int eolchar = '\n';
+static int eolchar = '\n';
/* Lines are held in core as counted strings. */
struct line
@@ -860,7 +860,7 @@ limfield (const struct line *line, const struct keyfield *key)
/* FIXME */
-void
+static void
trim_trailing_blanks (const char *a_start, char **a_end)
{
while (*a_end > a_start && blanks[UCHAR (*(*a_end - 1))])