mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Make an inline static so we can build with coverage enabled.
This commit is contained in:
parent
405fa42e8a
commit
1b93b065fc
@ -31,10 +31,10 @@ 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);
|
||||
static inline int hex_decode_digit(char c);
|
||||
|
||||
/** Helper: given a hex digit, return its value, or -1 if it isn't hex. */
|
||||
inline int
|
||||
static inline int
|
||||
hex_decode_digit(char c)
|
||||
{
|
||||
switch (c) {
|
||||
|
Loading…
Reference in New Issue
Block a user