/[svn]/hopm/trunk/src/libopm/src/list.c
ViewVC logotype

Diff of /hopm/trunk/src/libopm/src/list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8204 by michael, Sat Apr 15 20:30:39 2017 UTC revision 8205 by michael, Sat Apr 15 21:53:48 2017 UTC
# Line 36  Line 36 
36  OPM_NODE_T *  OPM_NODE_T *
37  libopm_node_create(void *data)  libopm_node_create(void *data)
38  {  {
39    OPM_NODE_T *node = xcalloc(sizeof *node);    OPM_NODE_T *node = libopm_calloc(sizeof *node);
40    
41    node->data = data;    node->data = data;
42    
# Line 46  libopm_node_create(void *data) Line 46  libopm_node_create(void *data)
46  OPM_LIST_T *  OPM_LIST_T *
47  libopm_list_create(void)  libopm_list_create(void)
48  {  {
49    OPM_LIST_T *list = xcalloc(sizeof *list);    OPM_LIST_T *list = libopm_calloc(sizeof *list);
50    return list;    return list;
51  }  }
52    
# Line 100  libopm_list_remove(OPM_LIST_T *list, OPM Line 100  libopm_list_remove(OPM_LIST_T *list, OPM
100  void  void
101  libopm_list_free(OPM_LIST_T *list)  libopm_list_free(OPM_LIST_T *list)
102  {  {
103    MyFree(list);    libopm_free(list);
104  }  }
105    
106  void  void
107  libopm_node_free(OPM_NODE_T *node)  libopm_node_free(OPM_NODE_T *node)
108  {  {
109    MyFree(node);    libopm_free(node);
110  }  }

Legend:
Removed from v.8204  
changed lines
  Added in v.8205

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28