aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2012-06-13 16:51:56 +0200
committerSebastian Hahn <sebastian@torproject.org>2012-06-13 16:51:56 +0200
commit9dd4e5a9b0f6415081df752b9cad331009eb5853 (patch)
treebc2cc16767133824861160d5ba96db460b76a6ae /src/common/util.h
parent971cf123743693677ab1b480692d117e333cb882 (diff)
downloadtor-9dd4e5a9b0f6415081df752b9cad331009eb5853.tar
tor-9dd4e5a9b0f6415081df752b9cad331009eb5853.tar.gz
Fix another clang compile warning
We forgot this when we fixed 5969.
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 527dc486f..a2b196c88 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -231,7 +231,8 @@ int tor_sscanf(const char *buf, const char *pattern, ...)
void smartlist_add_asprintf(struct smartlist_t *sl, const char *pattern, ...)
CHECK_PRINTF(2, 3);
void smartlist_add_vasprintf(struct smartlist_t *sl, const char *pattern,
- va_list args);
+ va_list args)
+ CHECK_PRINTF(2, 0);
int hex_decode_digit(char c);
void base16_encode(char *dest, size_t destlen, const char *src, size_t srclen);