Converts locking for odbc containers from ast_mutex_lock to ao2_locks.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2012-02-27 19:55:14 +00:00
parent c20cfcdcf0
commit e37631d071
2 changed files with 19 additions and 24 deletions

View File

@@ -44,7 +44,6 @@ enum {
/*! \brief ODBC container */
struct odbc_obj {
ast_mutex_t lock;
SQLHDBC con; /*!< ODBC Connection Handle */
struct odbc_class *parent; /*!< Information about the connection is protected */
struct timeval last_used; /*!< Used by idlecheck to determine if the connection should be renegotiated */