From 3b29acea56da8e1165f690a3a1d51c5974325ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Fri, 9 Aug 2013 19:46:04 -0500 Subject: [PATCH] fix compilation in OSX --- C/exo.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/C/exo.c b/C/exo.c index 8bcd92091..c078a0d66 100644 --- a/C/exo.c +++ b/C/exo.c @@ -69,10 +69,10 @@ inline BITS32 fmix32 ( BITS32 h ) return h; } //----------------------------------------------------------------------------- -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_MURMUR3_32 (UInt arity, CELL *cl, UInt bnds[], UInt sz); -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_MURMUR3_32 (UInt arity, CELL *cl, UInt bnds[], UInt sz) { UInt hash; @@ -121,10 +121,10 @@ HASH_MURMUR3_32 (UInt arity, CELL *cl, UInt bnds[], UInt sz) /*DJB2*/ #define DJB2_OFFSET 5381 -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_DJB2(UInt arity, CELL *cl, UInt bnds[], UInt sz); -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_DJB2(UInt arity, CELL *cl, UInt bnds[], UInt sz) { BITS32 hash; @@ -147,11 +147,11 @@ HASH_DJB2(UInt arity, CELL *cl, UInt bnds[], UInt sz) return hash; } -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_RS(UInt arity, CELL *cl, UInt bnds[], UInt sz); /* RS Hash Function */ -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_RS(UInt arity, CELL *cl, UInt bnds[], UInt sz) { UInt hash=0; @@ -176,7 +176,7 @@ HASH_RS(UInt arity, CELL *cl, UInt bnds[], UInt sz) return hash; } -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_FVN_1A(UInt arity, CELL *cl, UInt bnds[], UInt sz); /* Simple hash function: @@ -185,7 +185,7 @@ HASH_FVN_1A(UInt arity, CELL *cl, UInt bnds[], UInt sz); hash0 spreads extensions coming from different elements. spread over j quadrants. */ -extern inline BITS32 +INLINE_ONLY inline BITS32 HASH_FVN_1A(UInt arity, CELL *cl, UInt bnds[], UInt sz) { UInt hash;