mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Qualify 'inline' functions as 'static inline' to please the Sun C compiler.
This commit is contained in:
parent
136c1ea181
commit
6ccbe89d52
1 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ void hash_free(HASH *hash)
|
|||
handle inline functions that are not defined as native types
|
||||
*/
|
||||
|
||||
inline char*
|
||||
static inline char*
|
||||
hash_key(HASH *hash,const byte *record,uint *length,my_bool first)
|
||||
{
|
||||
if (hash->get_key)
|
||||
|
@ -183,8 +183,8 @@ uint calc_hashnr_caseup(const byte *key, uint len)
|
|||
|
||||
|
||||
/* for compilers which can not handle inline */
|
||||
#if !defined(__SUNPRO_C) && !defined(__USLC__) && !defined(__sgi)
|
||||
inline
|
||||
#if !defined(__USLC__) && !defined(__sgi)
|
||||
static inline
|
||||
#endif
|
||||
unsigned int rec_hashnr(HASH *hash,const byte *record)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue