diff --git a/src/or/config.c b/src/or/config.c index 6f3c4db6b5..7be2de30cf 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -101,10 +101,6 @@ typedef struct config_var_t { const char *initvalue; /**< String (or null) describing initial value. */ } config_var_t; -/** Return the offset of member within the type tp, in bytes */ -#define STRUCT_OFFSET(tp, member) \ - ((off_t) (((char*)&((tp*)0)->member)-(char*)0)) - #define STRUCT_VAR_P(st, off) \ ((void*) ( ((char*)st) + off ) )