]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Two more small changes for CI.
authorNick Mathewson <nickm@torproject.org>
Fri, 22 Jun 2018 17:10:52 +0000 (13:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 22 Jun 2018 17:10:52 +0000 (13:10 -0400)
src/lib/log/util_bug.c
src/lib/string/compat_ctype.h

index cdd86242992356eef7218a6522d48491c41290b0..161b65e0bfa8528f5f81b225352df77d64ba1c0b 100644 (file)
@@ -17,6 +17,8 @@
 #include "lib/malloc/util_malloc.h"
 #include "lib/string/printf.h"
 
+#include <string.h>
+
 #ifdef __COVERITY__
 int bug_macro_deadcode_dummy__ = 0;
 #endif
index 32f314f3328b6d0f927dcbdd695ca06362f716b9..3fde6eaf8c63253cbfadc183051a121201e85545 100644 (file)
@@ -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)