summaryrefslogtreecommitdiffstats
path: root/src/base/cba
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-10-21 23:53:42 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-10-21 23:53:42 -0700
commit2c37498bfb297c00e9b5eee8472acc134d9aba73 (patch)
tree06d386b7965bae00ee474003841e35d5d7424072 /src/base/cba
parenta07c08551db0f6d5bea8e8a442c1d2ac7dc62afd (diff)
downloadabc-2c37498bfb297c00e9b5eee8472acc134d9aba73.tar.gz
abc-2c37498bfb297c00e9b5eee8472acc134d9aba73.tar.bz2
abc-2c37498bfb297c00e9b5eee8472acc134d9aba73.zip
Compiler warnings.
Diffstat (limited to 'src/base/cba')
-rw-r--r--src/base/cba/cba.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/cba/cba.h b/src/base/cba/cba.h
index 8ae9a81c..a71830d6 100644
--- a/src/base/cba/cba.h
+++ b/src/base/cba/cba.h
@@ -369,7 +369,7 @@ static inline void Cba_ObjPatchFinFon( Cba_Ntk_t * p, int i, int k, in
static inline int Cba_ObjNtkId( Cba_Ntk_t * p, int i ) { assert(i>0); return (Cba_ObjIsBoxUser(p, i) && Cba_NtkHasObjFuncs(p)) ? Cba_ObjFunc(p, i) : 0;}
static inline Cba_Ntk_t * Cba_ObjNtk( Cba_Ntk_t * p, int i ) { assert(i>0); return Cba_NtkNtk(p, Cba_ObjNtkId(p, i)); }
-static inline int Cba_ObjSetNtkId( Cba_Ntk_t * p, int i, int x ) { assert(i>0); assert(Cba_ObjIsBoxUser(p, i)); Cba_ObjSetFunc( p, i, x ); }
+static inline void Cba_ObjSetNtkId( Cba_Ntk_t * p, int i, int x ) { assert(i>0); assert(Cba_ObjIsBoxUser(p, i)); Cba_ObjSetFunc( p, i, x ); }
static inline int Cba_ObjIsSeq( Cba_Ntk_t * p, int i ) { assert(i>0); return Cba_ObjIsBoxUser(p, i) ? Cba_ObjNtk(p, i)->fSeq : Cba_TypeIsSeq(Cba_ObjType(p, i)); }
static inline int Cba_FonIsReal( int f ) { return f > 0; }