diff options
author | Dan McGee <dan@archlinux.org> | 2007-10-22 10:43:34 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-23 06:36:03 +0200 |
commit | 46eaa5c54200bfda402412e2f5b7df0eddc0230a (patch) | |
tree | 1c396c19e03a21ab380b947c4daf740045962b8d /lib/libalpm | |
parent | f5b77eb9894ea92a08fac586ddf03e9ba70c3de8 (diff) | |
download | pacman-46eaa5c54200bfda402412e2f5b7df0eddc0230a.tar.gz pacman-46eaa5c54200bfda402412e2f5b7df0eddc0230a.tar.xz |
Fix invalid static scoping of strverscmp
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/util.c | 2 | ||||
-rw-r--r-- | lib/libalpm/util.h | 2 |
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 *); |