Don't redefine ast_mutex_init
authorMark Spencer <markster@digium.com>
Tue, 6 Apr 2004 20:57:15 +0000 (20:57 +0000)
committerMark Spencer <markster@digium.com>
Tue, 6 Apr 2004 20:57:15 +0000 (20:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index 1860f6a..70a08ab 100755 (executable)
@@ -172,7 +172,6 @@ static inline int ast_mutex_init(ast_mutex_t *t)
        pthread_mutexattr_settype(&attr, AST_MUTEX_KIND);
        return pthread_mutex_init(t, &attr);
 }
-#define ast_mutex_init(t) pthread_mutex_init(t, NULL)
 #define ast_pthread_mutex_init(t,a) pthread_mutex_init(t,a)
 #define ast_mutex_destroy(t) pthread_mutex_destroy(t)