From cfd53be2c8e7b0ef5961d1a10c400054f43a2b07 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 2 Mar 2001 03:44:49 +0000 Subject: [PATCH] (eolchar, trim_trailing_blanks): Now static. --- src/sort.c | 4 ++-- 1 file 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))])