From 3f525b0d4268696c3b7d3f48301764e177fd0987 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 24 Feb 2012 16:18:38 -0800 Subject: Silenced a gcc warning. --- src/misc/vec/vecInt.h | 6 +++--- src/misc/vec/vecWrd.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 ) -- cgit v1.2.3