diff options
author | Jeff Trawick <trawick@apache.org> | 2003-12-03 00:10:03 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2003-12-03 00:10:03 +0000 |
commit | a814dbf52a87e6fc48f74dcdc6986484a8770fcb (patch) | |
tree | fddf8e976f611701b0c66b96b17a3367cdfd1841 /atomic | |
parent | a7498df3533310da3ac9cae1b16c2f66fc9345b4 (diff) | |
download | apr-a814dbf52a87e6fc48f74dcdc6986484a8770fcb.tar.gz |
apr_atomic_t is dead
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/apr_atomic.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/atomic/unix/apr_atomic.c b/atomic/unix/apr_atomic.c index b24dd72e2..b181f6cad 100644 --- a/atomic/unix/apr_atomic.c +++ b/atomic/unix/apr_atomic.c @@ -58,8 +58,6 @@ #if defined(WIN32) -#define apr_atomic_t LONG /* not used */ - APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p) { return APR_SUCCESS; @@ -132,8 +130,6 @@ APR_DECLARE(apr_uint32_t) apr_atomic_xchg32(volatile apr_uint32_t *mem, apr_uint #include <machine/atomic.h> -#define apr_atomic_t apr_uint32_t /* unused */ - APR_DECLARE(void) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) { atomic_add_int(mem, val); @@ -163,8 +159,6 @@ APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) #if (defined(__linux__) || defined(__EMX__) || defined(__FreeBSD__)) \ && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC -/* #define apr_atomic_t apr_uint32_t UNUSED */ - APR_DECLARE(apr_uint32_t) apr_atomic_cas32(volatile apr_uint32_t *mem, apr_uint32_t with, apr_uint32_t cmp) |