aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-29 02:37:06 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-29 02:37:06 +0000
commitd1ad950ca89a648ef4a0d7ab4d8a38978a7a92dc (patch)
tree1ff1878f6b972d3befe21b49e47d0f612a2c0b74 /src/or/dirserv.c
parent98ae4bbd0fba7dc6ef3e56ccbbafaf76175be227 (diff)
downloadtor-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.c8
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.)