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) */
|
||||
|
||||
@@ -22,4 +22,4 @@ double tor_parse_double(const char *s, double min, double max, int *ok,
|
||||
uint64_t tor_parse_uint64(const char *s, int base, uint64_t min,
|
||||
uint64_t max, int *ok, char **next);
|
||||
|
||||
#endif
|
||||
#endif /* !defined(TOR_PARSE_INT_H) */
|
||||
|
||||
@@ -27,4 +27,4 @@ int tor_asprintf(char **strp, const char *fmt, ...)
|
||||
int tor_vasprintf(char **strp, const char *fmt, va_list args)
|
||||
CHECK_PRINTF(2,0);
|
||||
|
||||
#endif /* !defined(TOR_UTIL_STRING_H) */
|
||||
#endif /* !defined(TOR_UTIL_PRINTF_H) */
|
||||
|
||||
@@ -21,4 +21,4 @@ int tor_vsscanf(const char *buf, const char *pattern, va_list ap) \
|
||||
int tor_sscanf(const char *buf, const char *pattern, ...)
|
||||
CHECK_SCANF(2, 3);
|
||||
|
||||
#endif /* !defined(TOR_UTIL_STRING_H) */
|
||||
#endif /* !defined(TOR_UTIL_SCANF_H) */
|
||||
|
||||
Reference in New Issue
Block a user