summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-05-20 19:34:37 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-05-20 19:34:37 +0200
commit6922ead265b844cd4bba63aec22535c821f7c5aa (patch)
treedbe8435b7ef8eec3961baf84ed9bb05abf00b40d /sql-common
parent57ba432293531105a5ee6260a4039260cbadc720 (diff)
downloadmariadb-git-6922ead265b844cd4bba63aec22535c821f7c5aa.tar.gz
Adding missing forward declaration for bug 43560
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 9ba7f13e6b6..a6a2be1086f 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -120,6 +120,7 @@ const char *def_shared_memory_base_name= default_shared_memory_base_name;
static void mysql_close_free_options(MYSQL *mysql);
static void mysql_close_free(MYSQL *mysql);
+static void mysql_prune_stmt_list(MYSQL *mysql);
#if !(defined(__WIN__) || defined(__NETWARE__))
static int wait_for_data(my_socket fd, uint timeout);
@@ -2634,7 +2635,7 @@ static void mysql_close_free(MYSQL *mysql)
@return none
*/
-void mysql_prune_stmt_list(MYSQL *mysql)
+static void mysql_prune_stmt_list(MYSQL *mysql)
{
LIST *element= mysql->stmts;
LIST *pruned_list= 0;