aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/lgl/strverscmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/lgl/strverscmp.c')
-rw-r--r--src/daemon/https/lgl/strverscmp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/https/lgl/strverscmp.c b/src/daemon/https/lgl/strverscmp.c
index 1b45810f..83971034 100644
--- a/src/daemon/https/lgl/strverscmp.c
+++ b/src/daemon/https/lgl/strverscmp.c
@@ -45,11 +45,11 @@
45 of `digit' even when the host does not conform to POSIX. */ 45 of `digit' even when the host does not conform to POSIX. */
46#define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9) 46#define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9)
47 47
48#undef __strverscmp 48#undef __MHD_strverscmp
49#undef strverscmp 49#undef MHD_strverscmp
50 50
51#ifndef weak_alias 51#ifndef weak_alias
52# define __strverscmp strverscmp 52# define __MHD_strverscmp MHD_strverscmp
53#endif 53#endif
54 54
55/* Compare S1 and S2 as strings holding indices/version numbers, 55/* Compare S1 and S2 as strings holding indices/version numbers,
@@ -58,7 +58,7 @@
58*/ 58*/
59 59
60int 60int
61__strverscmp (const char *s1, const char *s2) 61__MHD_strverscmp (const char *s1, const char *s2)
62{ 62{
63 const unsigned char *p1 = (const unsigned char *) s1; 63 const unsigned char *p1 = (const unsigned char *) s1;
64 const unsigned char *p2 = (const unsigned char *) s2; 64 const unsigned char *p2 = (const unsigned char *) s2;
@@ -126,5 +126,5 @@ __strverscmp (const char *s1, const char *s2)
126} 126}
127 127
128#ifdef weak_alias 128#ifdef weak_alias
129weak_alias (__strverscmp, strverscmp) 129weak_alias (__MHD_strverscmp, MHD_strverscmp)
130#endif 130#endif