]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(eolchar, trim_trailing_blanks): Now static.
authorJim Meyering <jim@meyering.net>
Fri, 2 Mar 2001 03:44:49 +0000 (03:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 2 Mar 2001 03:44:49 +0000 (03:44 +0000)
src/sort.c

index 127561e7e8699bdb0f3c1da6cbe3979928f23731..7c59b67216b36f483276ad260863d4c96bb0b4cd 100644 (file)
@@ -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))])