Fix invalid static scoping of strverscmp
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
f5b77eb989
commit
46eaa5c542
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue