Make astobj2.h not include linkedlists.h.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 1 Aug 2012 18:52:29 +0000 (18:52 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 1 Aug 2012 18:52:29 +0000 (18:52 +0000)
Using astobj2 does not require linkedlists.h be included even though
astob2 uses linked lists internally.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370720 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/astobj2.h
main/astobj2.c

index a5068eb..5cf770a 100644 (file)
@@ -18,7 +18,7 @@
 #define _ASTERISK_ASTOBJ2_H
 
 #include "asterisk/compat.h"
 #define _ASTERISK_ASTOBJ2_H
 
 #include "asterisk/compat.h"
-#include "asterisk/linkedlists.h"
+#include "asterisk/lock.h"
 
 /*! \file
  * \ref AstObj2
 
 /*! \file
  * \ref AstObj2
index a04b9ef..176ea5a 100644 (file)
@@ -28,6 +28,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/_private.h"
 #include "asterisk/astobj2.h"
 
 #include "asterisk/_private.h"
 #include "asterisk/astobj2.h"
+#include "asterisk/linkedlists.h"
 #include "asterisk/utils.h"
 #include "asterisk/cli.h"
 #define REF_FILE "/tmp/refs"
 #include "asterisk/utils.h"
 #include "asterisk/cli.h"
 #define REF_FILE "/tmp/refs"