mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Run "make autostyle."
This commit is contained in:
@@ -25,14 +25,14 @@ static inline int strncasecmp(const char *a, const char *b, size_t n);
|
||||
static inline int strncasecmp(const char *a, const char *b, size_t n) {
|
||||
return _strnicmp(a,b,n);
|
||||
}
|
||||
#endif
|
||||
#endif /* !defined(HAVE_STRNCASECMP) */
|
||||
#ifndef HAVE_STRCASECMP
|
||||
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
|
||||
#endif
|
||||
#endif /* !defined(HAVE_STRCASECMP) */
|
||||
#endif /* defined(_WIN32) */
|
||||
|
||||
#if defined __APPLE__
|
||||
/* On OSX 10.9 and later, the overlap-checking code for strlcat would
|
||||
@@ -59,4 +59,4 @@ char *tor_strtok_r_impl(char *str, const char *sep, char **lasts);
|
||||
#define tor_strtok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* !defined(TOR_COMPAT_STRING_H) */
|
||||
|
||||
Reference in New Issue
Block a user