diff options
author | unknown <venu@myvenu.com> | 2002-11-28 09:56:26 -0800 |
---|---|---|
committer | unknown <venu@myvenu.com> | 2002-11-28 09:56:26 -0800 |
commit | 1c2d7aa88090255f21154e262f190c257c8c09ef (patch) | |
tree | 7755a31c97889d71c72f0e85125dadddbd69c951 | |
parent | 48a64b57033b004d6e4fa92e5c13b21f0f24af22 (diff) | |
download | mariadb-git-1c2d7aa88090255f21154e262f190c257c8c09ef.tar.gz |
Get rid of pbool from my_list.h; and avoid using the my_global.h for clients
-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) |