aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-13 12:31:41 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-13 12:31:41 -0400
commite0b2cd061bd62fc790d434b2da7ecc51ed100904 (patch)
tree0bdd72522895a018e4fc9765df0f3067eff940a1 /src/common/util.h
parentdffc5c3f240e7734e85a427b951c4e493c85906c (diff)
parent7cf1b9cc33ab2ba13d84e08105699dd1f39dae1d (diff)
downloadtor-e0b2cd061bd62fc790d434b2da7ecc51ed100904.tar
tor-e0b2cd061bd62fc790d434b2da7ecc51ed100904.tar.gz
Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'
Conflicts: src/common/sandbox.c
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 090243ea2..fdd8c135a 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -542,5 +542,7 @@ STATIC int format_helper_exit_status(unsigned char child_state,
const char *libor_get_digests(void);
+#define ARRAY_LENGTH(x) (sizeof(x)) / sizeof(x[0])
+
#endif