]> git.proxmox.com Git - libgit2.git/commitdiff
Fix warning in `status.c`
authorVicent Marti <tanoku@gmail.com>
Mon, 19 Sep 2011 03:31:54 +0000 (06:31 +0300)
committerVicent Marti <tanoku@gmail.com>
Mon, 19 Sep 2011 03:31:54 +0000 (06:31 +0300)
src/status.c

index 66fe8cbd6323c754950530772906ccdc64c3ccc9..1deade9a521d854023f4978b294e99620712b2f7 100644 (file)
@@ -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;