aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-08-05 14:17:46 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-08-05 14:17:46 +0300
commitd897690fc7f6f6b5b3d37da2e3e2b05f38222f06 (patch)
treeeda2526d67c333e08b6ecff5e040df725d96eefe /src/common/util.h
parentdde3ed385bc9de8bffa52b9b5e525fb7a0aae88b (diff)
downloadtor-d897690fc7f6f6b5b3d37da2e3e2b05f38222f06.tar.gz
tor-d897690fc7f6f6b5b3d37da2e3e2b05f38222f06.zip
fixes suggested by nickm
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 5596378bca..fc4ca291b0 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -533,5 +533,7 @@ 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