diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-11-08 12:19:59 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-11-08 12:19:59 -0800 |
commit | 81e1f9fef3eda8af31a5535f7bdd6754b76f2a5d (patch) | |
tree | 14e48da4e57a29195a63f1de617a190dc4e6bb79 /src | |
parent | efb8ad0af825ca104d30c77ec3ab91c47d190a85 (diff) | |
download | abc-81e1f9fef3eda8af31a5535f7bdd6754b76f2a5d.tar.gz abc-81e1f9fef3eda8af31a5535f7bdd6754b76f2a5d.tar.bz2 abc-81e1f9fef3eda8af31a5535f7bdd6754b76f2a5d.zip |
g++ compiler warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaFadds.c | 2 | ||||
-rw-r--r-- | src/aig/gia/giaRex.c | 3 | ||||
-rw-r--r-- | src/base/abci/abc.c | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/aig/gia/giaFadds.c b/src/aig/gia/giaFadds.c index 4b757d35..dc39131a 100644 --- a/src/aig/gia/giaFadds.c +++ b/src/aig/gia/giaFadds.c @@ -565,7 +565,7 @@ Gia_Man_t * Gia_ManGenerateExtraAig( int nBoxes, int nIns, int nOuts ) void Gia_ManDupFadd( Gia_Man_t * pNew, Gia_Man_t * p, Vec_Int_t * vChain, Vec_Int_t * vFadds, Vec_Int_t * vMap, Vec_Wec_t * vChains, Vec_Int_t * vMap2Chain, Vec_Int_t * vTruths ) { extern void Gia_ManDupWithFaddBoxes_rec( Gia_Man_t * pNew, Gia_Man_t * p, Gia_Obj_t * pObj, Vec_Int_t * vFadds, Vec_Int_t * vMap, Vec_Wec_t * vChains, Vec_Int_t * vMap2Chain, Vec_Int_t * vTruths ); - int i, k, iFadd, iCiLit, pLits[3]; + int i, k, iFadd = -1, iCiLit, pLits[3]; Gia_Obj_t * pObj; // construct FADD inputs Vec_IntForEachEntry( vChain, iFadd, i ) diff --git a/src/aig/gia/giaRex.c b/src/aig/gia/giaRex.c index e778ceff..2eacc8d7 100644 --- a/src/aig/gia/giaRex.c +++ b/src/aig/gia/giaRex.c @@ -19,6 +19,7 @@ ***********************************************************************/ #include "gia.h" +#include "misc/extra/extra.h" ABC_NAMESPACE_IMPL_START @@ -27,8 +28,6 @@ ABC_NAMESPACE_IMPL_START /// DECLARATIONS /// //////////////////////////////////////////////////////////////////////// -extern void Extra_PrintBinary( FILE * pFile, unsigned Sign[], int nBits ); - //////////////////////////////////////////////////////////////////////// /// FUNCTION DEFINITIONS /// //////////////////////////////////////////////////////////////////////// diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 31c8faf0..0a72b4b6 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -55,6 +55,7 @@ #include "opt/sfm/sfm.h" #include "bool/rpo/rpo.h" #include "map/mpm/mpm.h" +#include "opt/fret/fretime.h" #ifndef _WIN32 #include <unistd.h> |