Loading src/common/util.h +0 −2 Original line number Diff line number Diff line Loading @@ -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) */ src/lib/cc/compat_compiler.h +3 −0 Original line number Diff line number Diff line Loading @@ -253,4 +253,7 @@ */ #define STRUCT_VAR_P(st, off) ((void*) ( ((char*)(st)) + (off) ) ) /** Macro: Yields the number of elements in array x. */ #define ARRAY_LENGTH(x) ((sizeof(x)) / sizeof(x[0])) #endif /* !defined(TOR_COMPAT_H) */ Loading
src/common/util.h +0 −2 Original line number Diff line number Diff line Loading @@ -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) */
src/lib/cc/compat_compiler.h +3 −0 Original line number Diff line number Diff line Loading @@ -253,4 +253,7 @@ */ #define STRUCT_VAR_P(st, off) ((void*) ( ((char*)(st)) + (off) ) ) /** Macro: Yields the number of elements in array x. */ #define ARRAY_LENGTH(x) ((sizeof(x)) / sizeof(x[0])) #endif /* !defined(TOR_COMPAT_H) */