diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
commit | 3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch) | |
tree | c9e6d3d695cbb2449132428a32fb6c309aad870f /sort.c | |
parent | dd91724aa089e344d0f05e40a338dcce481c1845 (diff) | |
download | busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.bz2 busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip |
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
Diffstat (limited to 'sort.c')
-rw-r--r-- | sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,12 +26,12 @@ | |||
26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include "busybox.h" | 27 | #include "busybox.h" |
28 | 28 | ||
29 | int compare_ascii(const void *x, const void *y) | 29 | static 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 | ||
34 | int compare_numeric(const void *x, const void *y) | 34 | static 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 | } |