inline fixes.
This commit is contained in:
parent
51c8142cb1
commit
5fb55b2535
@ -2,8 +2,8 @@
|
||||
#define _YAP_INLINE_ONLY_H_
|
||||
|
||||
#ifdef __GNUC__
|
||||
//#define INLINE_ONLY __attribute__((gnu_inline,always_inline))
|
||||
#define INLINE_ONLY
|
||||
#define INLINE_ONLY __attribute__((gnu_inline,always_inline))
|
||||
//#define INLINE_ONLY
|
||||
#else
|
||||
#define INLINE_ONLY
|
||||
#endif
|
||||
|
@ -327,13 +327,8 @@ extern int errno;
|
||||
INLINE_ONLY EXTERN inline UInt STD_PROTO(HashFunction, (unsigned char *));
|
||||
INLINE_ONLY EXTERN inline UInt STD_PROTO(WideHashFunction, (wchar_t *));
|
||||
|
||||
<<<<<<< HEAD
|
||||
EXTERN inline UInt
|
||||
HashFunction(unsigned char *CHP) INLINE_ONLY
|
||||
=======
|
||||
INLINE_ONLY EXTERN inline UInt
|
||||
HashFunction(unsigned char *CHP)
|
||||
>>>>>>> 97163fa150ba570e4ba2881646363e9877a07bcb
|
||||
{
|
||||
/* djb2 */
|
||||
UInt hash = 5381;
|
||||
|
Reference in New Issue
Block a user