diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-22 08:41:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-22 09:49:13 -0400 |
commit | 1e07b4031e2613826cf7ff2838a2f0c8f03e81c2 (patch) | |
tree | 8575c7015ba9991055c3e0ed14542ff5bdd57173 /src/common | |
parent | 0932f322911f41e72b5155d06775658039814a39 (diff) | |
download | tor-1e07b4031e2613826cf7ff2838a2f0c8f03e81c2.tar.gz tor-1e07b4031e2613826cf7ff2838a2f0c8f03e81c2.zip |
Move ARRAY_LENGTH to compiler_compat.h
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.h | 2 |
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) */ |