aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 13:10:52 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 13:10:52 -0400
commitcf66544941364ae2c0ed45486ac7b16e61422061 (patch)
tree330c0d0d4729cc642097489bdecb89b10f45709b /src/lib
parent7aecea79cb7f48ce5a8620b4a9fc2534289b4d5d (diff)
downloadtor-cf66544941364ae2c0ed45486ac7b16e61422061.tar.gz
tor-cf66544941364ae2c0ed45486ac7b16e61422061.zip
Two more small changes for CI.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log/util_bug.c2
-rw-r--r--src/lib/string/compat_ctype.h2
2 files changed, 4 insertions, 0 deletions
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 <string.h>
+
#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)