summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/util.c2
-rw-r--r--lib/libalpm/util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 9d4adb2d..016c0f40 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -81,7 +81,7 @@
equal to or greater than S2 (for more info, see the texinfo doc).
*/
-static int strverscmp (s1, s2)
+int strverscmp (s1, s2)
const char *s1;
const char *s2;
{
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 17fa1235..5b6fac99 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -57,7 +57,7 @@ char *_alpm_filecache_find(const char *filename);
const char *_alpm_filecache_setup(void);
#ifndef HAVE_STRVERSCMP
-static int strverscmp(const char *, const char *);
+int strverscmp(const char *, const char *);
#endif
#ifndef HAVE_STRSEP
char *strsep(char **, const char *);