[asterisk-commits] rmudgett: trunk r370720 - in /trunk: include/asterisk/astobj2.h main/astobj2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 1 13:52:33 CDT 2012


Author: rmudgett
Date: Wed Aug  1 13:52:29 2012
New Revision: 370720

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370720
Log:
Make astobj2.h not include linkedlists.h.

Using astobj2 does not require linkedlists.h be included even though
astob2 uses linked lists internally.

Modified:
    trunk/include/asterisk/astobj2.h
    trunk/main/astobj2.c

Modified: trunk/include/asterisk/astobj2.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/astobj2.h?view=diff&rev=370720&r1=370719&r2=370720
==============================================================================
--- trunk/include/asterisk/astobj2.h (original)
+++ trunk/include/asterisk/astobj2.h Wed Aug  1 13:52:29 2012
@@ -18,7 +18,7 @@
 #define _ASTERISK_ASTOBJ2_H
 
 #include "asterisk/compat.h"
-#include "asterisk/linkedlists.h"
+#include "asterisk/lock.h"
 
 /*! \file
  * \ref AstObj2

Modified: trunk/main/astobj2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/astobj2.c?view=diff&rev=370720&r1=370719&r2=370720
==============================================================================
--- trunk/main/astobj2.c (original)
+++ trunk/main/astobj2.c Wed Aug  1 13:52:29 2012
@@ -28,6 +28,7 @@
 
 #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"




More information about the asterisk-commits mailing list