From: Nick Mathewson Date: Fri, 22 Jun 2018 17:10:52 +0000 (-0400) Subject: Two more small changes for CI. X-Git-Tag: tor-0.3.5.1-alpha~361^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf66544941364ae2c0ed45486ac7b16e61422061;p=thirdparty%2Ftor.git Two more small changes for CI. --- diff --git a/src/lib/log/util_bug.c b/src/lib/log/util_bug.c index cdd8624299..161b65e0bf 100644 --- a/src/lib/log/util_bug.c +++ b/src/lib/log/util_bug.c @@ -17,6 +17,8 @@ #include "lib/malloc/util_malloc.h" #include "lib/string/printf.h" +#include + #ifdef __COVERITY__ int bug_macro_deadcode_dummy__ = 0; #endif diff --git a/src/lib/string/compat_ctype.h b/src/lib/string/compat_ctype.h index 32f314f332..3fde6eaf8c 100644 --- a/src/lib/string/compat_ctype.h +++ b/src/lib/string/compat_ctype.h @@ -31,6 +31,8 @@ extern const uint8_t TOR_TOLOWER_TABLE[]; #define TOR_TOLOWER(c) (TOR_TOLOWER_TABLE[(uint8_t)c]) #define TOR_TOUPPER(c) (TOR_TOUPPER_TABLE[(uint8_t)c]) +inline int hex_decode_digit(char c); + /** Helper: given a hex digit, return its value, or -1 if it isn't hex. */ inline int hex_decode_digit(char c)