c61ec39e3252f62ed8912034870feec740902d90 hiram Thu Nov 7 13:33:21 2013 -0800 new 5.0 gcc compiler on mac OSX will not accept bare inline functions must be static inline instead refs #12106 diff --git src/lib/cirTree.c src/lib/cirTree.c index 9c04984..61b7523 100644 --- src/lib/cirTree.c +++ src/lib/cirTree.c @@ -439,31 +439,31 @@ freez(pCrt); } void cirTreeFileClose(struct cirTreeFile **pCrt) /* Close and free up cirTree file opened with cirTreeFileAttach. */ { struct cirTreeFile *crt = *pCrt; if (crt != NULL) { freez(&crt->fileName); udcFileClose(&crt->udc); cirTreeFileDetach(pCrt); } } -inline int cmpTwoBits32(bits32 aHi, bits32 aLo, bits32 bHi, bits32 bLo) +static inline int cmpTwoBits32(bits32 aHi, bits32 aLo, bits32 bHi, bits32 bLo) /* Return - if b is less than a , 0 if equal, else +*/ { if (aHi < bHi) return 1; else if (aHi > bHi) return -1; else { if (aLo < bLo) return 1; else if (aLo > bLo) return -1; else return 0; }