summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcPlace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/abci/abcPlace.c')
-rw-r--r--src/base/abci/abcPlace.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/base/abci/abcPlace.c b/src/base/abci/abcPlace.c
index 87c99e99..06c23e65 100644
--- a/src/base/abci/abcPlace.c
+++ b/src/base/abci/abcPlace.c
@@ -23,6 +23,9 @@
// placement includes
#include "place_base.h"
+ABC_NAMESPACE_IMPL_START
+
+
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
@@ -102,7 +105,7 @@ float Abc_PlaceEvaluateCut( Abc_Obj_t * pRoot, Vec_Ptr_t * vFanins )
Abc_Obj_t * pObj;
// double x, y;
int i;
- Vec_PtrForEachEntry( vFanins, pObj, i )
+ Vec_PtrForEachEntry( Abc_Obj_t *, vFanins, pObj, i )
{
// pObj->Id
}
@@ -131,7 +134,7 @@ void Abc_PlaceUpdate( Vec_Ptr_t * vAddedCells, Vec_Ptr_t * vUpdatedNets )
vNets = Vec_PtrAlloc( 32 );
// go through the new nodes
- Vec_PtrForEachEntry( vAddedCells, pObj, i )
+ Vec_PtrForEachEntry( Abc_Obj_t *, vAddedCells, pObj, i )
{
assert( !Abc_ObjIsComplement(pObj) );
Abc_PlaceCreateCell( pObj, 1 );
@@ -144,7 +147,7 @@ void Abc_PlaceUpdate( Vec_Ptr_t * vAddedCells, Vec_Ptr_t * vUpdatedNets )
}
// go through the modified nets
- Vec_PtrForEachEntry( vUpdatedNets, pObj, i )
+ Vec_PtrForEachEntry( Abc_Obj_t *, vUpdatedNets, pObj, i )
{
assert( !Abc_ObjIsComplement(pObj) );
if ( Abc_ObjType(pObj) == ABC_OBJ_NONE ) // dead node
@@ -253,3 +256,5 @@ void Abc_PlaceEnd( Abc_Ntk_t * pNtk )
////////////////////////////////////////////////////////////////////////
+ABC_NAMESPACE_IMPL_END
+