projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the warning msg after features.h gets pulled in.
[oweals/busybox.git]
/
sort.c
diff --git
a/sort.c
b/sort.c
index 79e629c757bc397d7426c906266e2560ef3f412d..9707efa51c5f65f6e010e4ff9379f36f7407ce8e 100644
(file)
--- a/
sort.c
+++ b/
sort.c
@@
-26,12
+26,12
@@
#include <stdlib.h>
#include "busybox.h"
#include <stdlib.h>
#include "busybox.h"
-int compare_ascii(const void *x, const void *y)
+
static
int compare_ascii(const void *x, const void *y)
{
return strcmp(*(char **)x, *(char **)y);
}
{
return strcmp(*(char **)x, *(char **)y);
}
-int compare_numeric(const void *x, const void *y)
+
static
int compare_numeric(const void *x, const void *y)
{
return atoi(*(char **)x) - atoi(*(char **)y);
}
{
return atoi(*(char **)x) - atoi(*(char **)y);
}