Move the warning msg after features.h gets pulled in.
[oweals/busybox.git] / sort.c
diff --git a/sort.c b/sort.c
index ed687221846f29b59b6f8c5b62e9b041b8f3019a..9707efa51c5f65f6e010e4ff9379f36f7407ce8e 100644 (file)
--- a/sort.c
+++ b/sort.c
  */
 
 #include <getopt.h>
+#include <string.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);
 }
 
-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);
 }