aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-16 19:39:00 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-16 19:39:00 +0000
commit14f5c8d764ab7429367feb407ab86191054e6a8a (patch)
tree2aa792b8a9d8f7af365c456f19f34a963236c26d /coreutils/sort.c
parenta77b4f39708306d44058d7ca1683f448f51c5fce (diff)
downloadbusybox-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index c701b5e4f..73505e365 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -31,7 +31,7 @@
#include <unistd.h>
#include "busybox.h"
-int global_flags;
+static int global_flags;
/*
sort [-m][-o output][-bdfinru][-t char][-k keydef]... [file...]
@@ -57,9 +57,9 @@ int global_flags;
#ifdef CONFIG_SORT_BIG
-char key_separator;
+static char key_separator;
-struct sort_key
+static struct sort_key
{
struct sort_key *next_key; /* linked list */
unsigned short range[4]; /* start word, start char, end word, end char */