~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/list.c

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
*/
19
19
 
20
20
#include "mysys_priv.h"
21
 
#include "my_list.h"
22
 
 
23
 
#include <stdlib.h>
 
21
#include <my_list.h>
24
22
 
25
23
 
26
24
 
70
68
 
71
69
LIST *list_cons(void *data, LIST *list)
72
70
{
73
 
  LIST * const new_charset=(LIST*) malloc(sizeof(LIST));
 
71
  LIST * const new_charset=(LIST*) my_malloc(sizeof(LIST),MYF(MY_FAE));
74
72
  if (!new_charset)
75
73
    return NULL;
76
74
  new_charset->data=data;