summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-11-07 12:49:02 +0200
committerunknown <monty@hundin.mysql.fi>2002-11-07 12:49:02 +0200
commit8fc4319ae36e106ed8474a567bd1bd00e6337d5f (patch)
treed3af8befba9a4bff157436dba47b7cbd48f09c83 /sql/sql_udf.cc
parent8d0d518ceda975ba53f2cc94b01250f642ae6f11 (diff)
downloadmariadb-git-8fc4319ae36e106ed8474a567bd1bd00e6337d5f.tar.gz
Portability fix extern "C" static -> extern "C"
client/mysqlbinlog.cc: Portability fix sql/gen_lex_hash.cc: Portability fix sql/repl_failsafe.cc: Portability fix sql/sql_class.cc: Portability fix sql/sql_udf.cc: Portability fix sql/mysqld.cc: Portability fix sql/sql_base.cc: Portability fix sql/sql_insert.cc: Portability fix sql/sql_parse.cc: Portability fix sql/sql_delete.cc: Portability fix
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index fe1fa3332cf..420ec67f0c5 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -98,8 +98,8 @@ static void init_syms(udf_func *tmp)
}
}
-extern "C" static byte* get_hash_key(const byte *buff,uint *length,
- my_bool not_used __attribute__((unused)))
+extern "C" byte* get_hash_key(const byte *buff,uint *length,
+ my_bool not_used __attribute__((unused)))
{
udf_func *udf=(udf_func*) buff;
*length=(uint) udf->name_length;