diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-05 19:40:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-05 19:40:19 +0000 |
commit | ac69319d3f1554413eec68313bd83b153fd4ff7f (patch) | |
tree | ff149dba65f2f046e9b0db0a53991ae7d92a0d0a /src/common/compat.h | |
parent | 3958d7b16f0fd54bce0ba9a6992fe773633e7077 (diff) | |
download | tor-ac69319d3f1554413eec68313bd83b153fd4ff7f.tar.gz tor-ac69319d3f1554413eec68313bd83b153fd4ff7f.zip |
r17899@catbus: nickm | 2008-02-05 14:14:06 -0500
Fix a couple of XXX020 items. Also, disable all "condition" sychronization code, since Tor does not use it yet
svn:r13380
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 1ccfbe8a0b..b8d859a17a 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -363,7 +363,6 @@ IPV4IP(const tor_addr_t *a) } static INLINE uint32_t IPV4IPh(const tor_addr_t *a) { - /*XXXX020 remove this function */ return ntohl(IPV4IP(a)); } static INLINE uint32_t @@ -483,6 +482,7 @@ void tor_threads_init(void); #endif #ifdef TOR_IS_MULTITHREADED +#if 0 typedef struct tor_cond_t tor_cond_t; tor_cond_t *tor_cond_new(void); void tor_cond_free(tor_cond_t *cond); @@ -490,6 +490,7 @@ int tor_cond_wait(tor_cond_t *cond, tor_mutex_t *mutex); void tor_cond_signal_one(tor_cond_t *cond); void tor_cond_signal_all(tor_cond_t *cond); #endif +#endif /* Platform-specific helpers. */ #ifdef MS_WINDOWS |