From 19d869bb2e09fe217cbf12496f9f59d5c306c175 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Mon, 19 Sep 2011 06:31:54 +0300 Subject: [PATCH] Fix warning in `status.c` --- src/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.c b/src/status.c index 66fe8cbd6..1deade9a5 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;