]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
strcasecmp should not take a size_t argument
authorNick Mathewson <nickm@torproject.org>
Mon, 9 Jul 2018 15:17:23 +0000 (11:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 9 Jul 2018 15:17:23 +0000 (11:17 -0400)
src/lib/string/compat_string.h

index 5879c28fc24b48614ea811905c8048a7013bf722..4726d2b5b6e59b3dfe7f7ff676f21c4e72295a2c 100644 (file)
@@ -22,8 +22,8 @@ static inline int strncasecmp(const char *a, const char *b, size_t n) {
 }
 #endif
 #ifndef HAVE_STRCASECMP
-static inline int strcasecmp(const char *a, const char *b, size_t n);
-static inline int strcasecmp(const char *a, const char *b, size_t n) {
+static inline int strcasecmp(const char *a, const char *b);
+static inline int strcasecmp(const char *a, const char *b) {
   return _stricmp(a,b);
 }
 #endif