1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Fix invalid static scoping of strverscmp

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-10-22 01:43:34 -07:00
parent f5b77eb989
commit 46eaa5c542
2 changed files with 2 additions and 2 deletions

View File

@ -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;
{

View File

@ -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 *);