Two more small changes for CI.

This commit is contained in:
Nick Mathewson 2018-06-22 13:10:52 -04:00
parent 7aecea79cb
commit cf66544941
2 changed files with 4 additions and 0 deletions

View 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

View 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)