From: Scott James Remnant Date: Tue, 15 Sep 2009 14:16:31 +0000 (+0100) Subject: versionsort() prototype changed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=521c4166b8cf388fd7bbc25d818d631db575a22e;p=util-linux versionsort() prototype changed --- diff --git a/include/strverscmp.h b/include/strverscmp.h index 23ec6709..ba974e91 100644 --- a/include/strverscmp.h +++ b/include/strverscmp.h @@ -2,6 +2,6 @@ #define STRVERSCMP_H extern int strverscmp (const char *s1, const char *s2); -extern int versionsort (const void *a, const void *b); +extern int version_sort (const void *a, const void *b); #endif diff --git a/lib/strverscmp.c b/lib/strverscmp.c index 7de473bf..4405f80c 100644 --- a/lib/strverscmp.c +++ b/lib/strverscmp.c @@ -113,7 +113,7 @@ strverscmp (s1, s2) int -versionsort (const void *a, const void *b) +version_sort (const void *a, const void *b) { return strverscmp ((*(const struct dirent **) a)->d_name, (*(const struct dirent **) b)->d_name);