mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fixes for OS2.
Fix bug in isamlog Add argument types to function declarations.
This commit is contained in:
parent
063a1a6557
commit
733f865f54
137 changed files with 9927 additions and 852 deletions
|
|
@ -72,11 +72,11 @@ void list_free(LIST *root, pbool free_data)
|
|||
|
||||
LIST *list_cons(void *data, LIST *list)
|
||||
{
|
||||
LIST *new=(LIST*) my_malloc(sizeof(LIST),MYF(MY_FAE));
|
||||
if (!new)
|
||||
LIST *new_charset=(LIST*) my_malloc(sizeof(LIST),MYF(MY_FAE));
|
||||
if (!new_charset)
|
||||
return 0;
|
||||
new->data=data;
|
||||
return list_add(list,new);
|
||||
new_charset->data=data;
|
||||
return list_add(list,new_charset);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue