aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-09 21:24:12 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-09 21:24:12 +0000
commit1ac3737b2be159605be497acba46eb6ebc0de450 (patch)
treec9e6d3d695cbb2449132428a32fb6c309aad870f /coreutils/sort.c
parent1f5b759db15ea574fdb31e86b8916835dbd43dbe (diff)
downloadbusybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.gz
busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.bz2
busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.zip
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 79e629c75..9707efa51 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -26,12 +26,12 @@
26#include <stdlib.h> 26#include <stdlib.h>
27#include "busybox.h" 27#include "busybox.h"
28 28
29int compare_ascii(const void *x, const void *y) 29static int compare_ascii(const void *x, const void *y)
30{ 30{
31 return strcmp(*(char **)x, *(char **)y); 31 return strcmp(*(char **)x, *(char **)y);
32} 32}
33 33
34int compare_numeric(const void *x, const void *y) 34static int compare_numeric(const void *x, const void *y)
35{ 35{
36 return atoi(*(char **)x) - atoi(*(char **)y); 36 return atoi(*(char **)x) - atoi(*(char **)y);
37} 37}