summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-23 12:02:58 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-23 12:02:58 +0200
commit6a05f2af3c14bf6fe7498d3fc11b37d08fc2ccf6 (patch)
tree3ba7f4ccf8ad24cdc321fde54a3162363ae97c0c /tests
parent166af98f4464378b338c95cf9ae0ee9d702e8cbc (diff)
downloadmariadb-git-6a05f2af3c14bf6fe7498d3fc11b37d08fc2ccf6.tar.gz
Fix warnings reported by icc
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index d64ec08a71d..ae332edcdd8 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -85,7 +85,7 @@ struct my_tests_st
if (opt_silent < 2) \
{ \
fprintf(stdout, "\n\n#####################################\n"); \
- fprintf(stdout, "%d of (%d/%d): %s", test_count++, iter_count, \
+ fprintf(stdout, "%u of (%u/%u): %s", test_count++, iter_count, \
opt_count, str); \
fprintf(stdout, " \n#####################################\n"); \
}
@@ -99,7 +99,7 @@ if (!opt_silent) \
static void print_error(const char *msg);
static void print_st_error(MYSQL_STMT *stmt, const char *msg);
-static void client_disconnect();
+static void client_disconnect(void);
/*
@@ -118,7 +118,7 @@ static void client_disconnect();
#define DIE(expr) \
die(__FILE__, __LINE__, #expr)
-void die(const char *file, int line, const char *expr)
+static void die(const char *file, int line, const char *expr)
{
fflush(stdout);
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
@@ -252,7 +252,7 @@ static my_bool check_have_innodb(MYSQL *conn)
mysql_simple_prepare(): a variant without the 'length' parameter.
*/
-MYSQL_STMT *STDCALL
+static MYSQL_STMT *STDCALL
mysql_simple_prepare(MYSQL *mysql_arg, const char *query)
{
MYSQL_STMT *stmt= mysql_stmt_init(mysql_arg);
@@ -467,7 +467,7 @@ static void my_print_result_metadata(MYSQL_RES *result)
/* Process the result set */
-int my_process_result_set(MYSQL_RES *result)
+static int my_process_result_set(MYSQL_RES *result)
{
MYSQL_ROW row;
MYSQL_FIELD *field;
@@ -523,7 +523,7 @@ int my_process_result_set(MYSQL_RES *result)
}
-int my_process_result(MYSQL *mysql_arg)
+static int my_process_result(MYSQL *mysql_arg)
{
MYSQL_RES *result;
int row_count;
@@ -543,7 +543,7 @@ int my_process_result(MYSQL *mysql_arg)
#define MAX_RES_FIELDS 50
#define MAX_FIELD_DATA_SIZE 255
-int my_process_stmt_result(MYSQL_STMT *stmt)
+static int my_process_stmt_result(MYSQL_STMT *stmt)
{
int field_count;
int row_count= 0;