From: Jim Meyering Date: Fri, 2 Mar 2001 03:44:49 +0000 (+0000) Subject: (eolchar, trim_trailing_blanks): Now static. X-Git-Tag: TEXTUTILS-2_0_12~25 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=cfd53be2c8e7b0ef5961d1a10c400054f43a2b07;p=thirdparty%2Fcoreutils.git (eolchar, trim_trailing_blanks): Now static. --- diff --git a/src/sort.c b/src/sort.c index 127561e7e8..7c59b67216 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))])