diff options
-rw-r--r-- | client/insert_test.c | 1 | ||||
-rw-r--r-- | client/select_test.c | 1 | ||||
-rw-r--r-- | include/my_list.h | 2 | ||||
-rw-r--r-- | mysys/list.c | 2 |
4 files changed, 2 insertions, 4 deletions
diff --git a/client/insert_test.c b/client/insert_test.c index fb4890faf73..42691df6875 100644 --- a/client/insert_test.c +++ b/client/insert_test.c @@ -16,7 +16,6 @@ #include <stdio.h> #include <stdlib.h> -#include <my_global.h> #include "mysql.h" #define INSERT_QUERY "insert into test (name,num) values ('item %d', %d)" diff --git a/client/select_test.c b/client/select_test.c index d7f18c0f1f0..ee2a9192865 100644 --- a/client/select_test.c +++ b/client/select_test.c @@ -19,7 +19,6 @@ #endif #include <stdio.h> #include <stdlib.h> -#include "my_global.h" #include "mysql.h" #define SELECT_QUERY "select name from test where num = %d" diff --git a/include/my_list.h b/include/my_list.h index 0f56d4c532b..056e1f13b36 100644 --- a/include/my_list.h +++ b/include/my_list.h @@ -32,7 +32,7 @@ extern LIST *list_add(LIST *root,LIST *element); extern LIST *list_delete(LIST *root,LIST *element); extern LIST *list_cons(void *data,LIST *root); extern LIST *list_reverse(LIST *root); -extern void list_free(LIST *root,pbool free_data); +extern void list_free(LIST *root,uint free_data); extern uint list_length(LIST *list); extern int list_walk(LIST *list,list_walk_action action,gptr argument); diff --git a/mysys/list.c b/mysys/list.c index ac9e1b979a0..17028e8e183 100644 --- a/mysys/list.c +++ b/mysys/list.c @@ -55,7 +55,7 @@ LIST *list_delete(LIST *root, LIST *element) } -void list_free(LIST *root, pbool free_data) +void list_free(LIST *root, uint free_data) { LIST *next; while (root) |