diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-24 16:18:38 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-24 16:18:38 -0800 |
commit | 3f525b0d4268696c3b7d3f48301764e177fd0987 (patch) | |
tree | 8ba29f439cea82d533907881f122ff47df47b7bb /src | |
parent | b4fe108d8608dd247630cbd3ce9ce7ef4b32a105 (diff) | |
download | abc-3f525b0d4268696c3b7d3f48301764e177fd0987.tar.gz abc-3f525b0d4268696c3b7d3f48301764e177fd0987.tar.bz2 abc-3f525b0d4268696c3b7d3f48301764e177fd0987.zip |
Silenced a gcc warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/misc/vec/vecInt.h | 6 | ||||
-rw-r--r-- | src/misc/vec/vecWrd.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index 72aa1ab6..59493666 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -1131,7 +1131,7 @@ static inline void Vec_IntSort( Vec_Int_t * p, int fReverse ) SeeAlso [] ***********************************************************************/ -static void Vec_IntUniqify( Vec_Int_t * p ) +static inline void Vec_IntUniqify( Vec_Int_t * p ) { int i, k; if ( p->nSize < 2 ) @@ -1154,7 +1154,7 @@ static void Vec_IntUniqify( Vec_Int_t * p ) SeeAlso [] ***********************************************************************/ -static int Vec_IntSortCompareUnsigned( unsigned * pp1, unsigned * pp2 ) +static inline int Vec_IntSortCompareUnsigned( unsigned * pp1, unsigned * pp2 ) { if ( *pp1 < *pp2 ) return -1; @@ -1353,7 +1353,7 @@ static inline int Vec_IntCompareVec( Vec_Int_t * p1, Vec_Int_t * p2 ) SeeAlso [] ***********************************************************************/ -static void Vec_IntAppend( Vec_Int_t * vVec1, Vec_Int_t * vVec2 ) +static inline void Vec_IntAppend( Vec_Int_t * vVec1, Vec_Int_t * vVec2 ) { int Entry, i; Vec_IntForEachEntry( vVec2, Entry, i ) diff --git a/src/misc/vec/vecWrd.h b/src/misc/vec/vecWrd.h index ab8e8306..046ecf2a 100644 --- a/src/misc/vec/vecWrd.h +++ b/src/misc/vec/vecWrd.h @@ -1010,7 +1010,7 @@ static inline void Vec_WrdSort( Vec_Wrd_t * p, int fReverse ) SeeAlso [] ***********************************************************************/ -static void Vec_WrdUniqify( Vec_Wrd_t * p ) +static inline void Vec_WrdUniqify( Vec_Wrd_t * p ) { int i, k; if ( p->nSize < 2 ) |