summaryrefslogtreecommitdiff
path: root/mysys/hash.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-25 22:38:26 +0200
committerunknown <monty@donna.mysql.com>2001-01-25 22:38:26 +0200
commitc6a67ce9dc3b3ec5b9055d158c7c41d35db4fb50 (patch)
treefe3f6949910642edbece6d138397aa25d1699bb4 /mysys/hash.c
parent060cd1a1376027c120b274932edd1c512dabe39d (diff)
downloadmariadb-git-c6a67ce9dc3b3ec5b9055d158c7c41d35db4fb50.tar.gz
Lots of manual changes
Changed 'static inline' to 'inline' for SCO new's compiler Docs/manual.texi: Lots of changes in "Debugging a MySQL server" and in Log files handling mysys/hash.c: Changed 'static inline' to 'inline' sql/hostname.cc: Changed 'static inline' to 'inline' sql/item.cc: Changed 'static inline' to 'inline' sql/net_serv.cc: Changed 'static inline' to 'inline' sql/password.c: Changed 'static inline' to 'inline' sql/slave.cc: Changed 'static inline' to 'inline' sql/sql_acl.cc: Changed 'static inline' to 'inline' sql/sql_base.cc: Changed mysql_list_field() to convert field names again sql/sql_parse.cc: Changed 'static inline' to 'inline' sql/sql_repl.cc: fixed typo
Diffstat (limited to 'mysys/hash.c')
-rw-r--r--mysys/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index b366554272a..66fa91811b5 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -83,7 +83,7 @@ void hash_free(HASH *hash)
/* some helper functions */
-static inline byte*
+inline byte*
hash_key(HASH *hash,const byte *record,uint *length,my_bool first)
{
if (hash->get_key)
@@ -180,7 +180,7 @@ uint calc_hashnr_caseup(const byte *key, uint len)
#endif
-static inline uint rec_hashnr(HASH *hash,const byte *record)
+inline uint rec_hashnr(HASH *hash,const byte *record)
{
uint length;
byte *key=hash_key(hash,record,&length,0);