Commit 19d869bb2e09fe217cbf12496f9f59d5c306c175

Vicent Marti 2011-09-19T06:31:54

Fix warning in `status.c`

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/status.c b/src/status.c
index 66fe8cb..1deade9 100644
--- a/src/status.c
+++ b/src/status.c
@@ -606,7 +606,7 @@ static struct alphasorted_dirent_info *alphasorted_dirent_info_new(const char *p
 	return di;
 }
 
-int alphasorted_dirent_info_cmp(const void *a, const void *b)
+static int alphasorted_dirent_info_cmp(const void *a, const void *b)
 {
 	struct alphasorted_dirent_info *stra = (struct alphasorted_dirent_info *)a;
 	struct alphasorted_dirent_info *strb = (struct alphasorted_dirent_info *)b;