diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sort.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sort.c b/lib/sort.c index b73dbb0e7c83..ddc4d35df289 100644 --- a/lib/sort.c +++ b/lib/sort.c | |||
@@ -6,15 +6,16 @@ | |||
6 | 6 | ||
7 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
9 | #include <linux/sort.h> | ||
9 | 10 | ||
10 | void u32_swap(void *a, void *b, int size) | 11 | static void u32_swap(void *a, void *b, int size) |
11 | { | 12 | { |
12 | u32 t = *(u32 *)a; | 13 | u32 t = *(u32 *)a; |
13 | *(u32 *)a = *(u32 *)b; | 14 | *(u32 *)a = *(u32 *)b; |
14 | *(u32 *)b = t; | 15 | *(u32 *)b = t; |
15 | } | 16 | } |
16 | 17 | ||
17 | void generic_swap(void *a, void *b, int size) | 18 | static void generic_swap(void *a, void *b, int size) |
18 | { | 19 | { |
19 | char t; | 20 | char t; |
20 | 21 | ||