aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-03 20:39:45 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-03 20:39:45 +0000
commitd2b5deb5c7a743eb400c6cdad64c00ab918fc4c4 (patch)
tree9d2892ce67cb3035e310fc15ee8ef9b292577871 /utils.c
parenta0b795f0812a231bc7a0c097931f5cc8d51333d2 (diff)
Revert some changes that accidentally got committed as a part of another fix.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53134 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/utils.c b/utils.c
index 321f9113a..6b3680b8f 100644
--- a/utils.c
+++ b/utils.c
@@ -907,14 +907,3 @@ void ast_enable_packet_fragmentation(int sock)
#endif
}
-AST_MUTEX_DEFINE_STATIC(fetchadd_m); /* used for all fetc&add ops */
-
-int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
-{
- int ret;
- ast_mutex_lock(&fetchadd_m);
- ret = *p;
- *p += v;
- ast_mutex_unlock(&fetchadd_m);
- return ret;
-}