aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 08:41:57 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 09:49:13 -0400
commit1e07b4031e2613826cf7ff2838a2f0c8f03e81c2 (patch)
tree8575c7015ba9991055c3e0ed14542ff5bdd57173 /src/common
parent0932f322911f41e72b5155d06775658039814a39 (diff)
downloadtor-1e07b4031e2613826cf7ff2838a2f0c8f03e81c2.tar.gz
tor-1e07b4031e2613826cf7ff2838a2f0c8f03e81c2.zip
Move ARRAY_LENGTH to compiler_compat.h
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index f2df84b194..8977b460bf 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -451,6 +451,4 @@ STATIC int format_helper_exit_status(unsigned char child_state,
#endif /* defined(UTIL_PRIVATE) */
-#define ARRAY_LENGTH(x) ((sizeof(x)) / sizeof(x[0]))
-
#endif /* !defined(TOR_UTIL_H) */