mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 20:05:07 -05:00
Fix invalid static scoping of strverscmp
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
f5b77eb989
commit
46eaa5c542
@ -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;
|
||||
{
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user