diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-29 02:37:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-29 02:37:06 +0000 |
commit | d1ad950ca89a648ef4a0d7ab4d8a38978a7a92dc (patch) | |
tree | 1ff1878f6b972d3befe21b49e47d0f612a2c0b74 /src/or/dirserv.c | |
parent | 98ae4bbd0fba7dc6ef3e56ccbbafaf76175be227 (diff) | |
download | tor-d1ad950ca89a648ef4a0d7ab4d8a38978a7a92dc.tar tor-d1ad950ca89a648ef4a0d7ab4d8a38978a7a92dc.tar.gz |
Turn bool_neq and bool_eq into macros.
svn:r9914
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index fa6ecef31..0ee7fc067 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -582,14 +582,6 @@ dirserv_add_descriptor(const char *desc, const char **msg) } } -/** Helper: return true iff the boolean values of <b>a</b> and <b>b</b> are - * different. */ -static INLINE int -bool_neq(int a, int b) -{ - return (a) ? !b : b; -} - /** Remove all descriptors whose nicknames or fingerprints no longer * are allowed by our fingerprint list. (Descriptors that used to be * good can become bad when we reload the fingerprint list.) |