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