Run "make autostyle."

This commit is contained in:
Nick Mathewson
2019-06-05 09:33:35 -04:00
parent d1b02456c1
commit 60213a3621
296 changed files with 480 additions and 480 deletions
+4 -4
View File
@@ -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) */
+1 -1
View File
@@ -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) */
+1 -1
View File
@@ -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) */
+1 -1
View File
@@ -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) */