comparison list.h @ 1046:b8f4b7027191 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Feb 2015 22:48:34 +0800
parents deed0571cacc
children 2bb4c662d1c2
comparison
equal deleted inserted replaced
1014:37c510c2ac7c 1046:b8f4b7027191
1 #ifndef _DROPBEAR_LIST_H 1 #ifndef DROPBEAR_DROPBEAR_LIST_H
2 #define _DROPBEAR_LIST_H 2 #define DROPBEAR_DROPBEAR_LIST_H
3 3
4 struct _m_list; 4 struct _m_list;
5 5
6 struct _m_list_elem { 6 struct _m_list_elem {
7 void *item; 7 void *item;
23 void list_append(m_list *list, void *item); 23 void list_append(m_list *list, void *item);
24 /* returns the item for the element removed */ 24 /* returns the item for the element removed */
25 void * list_remove(m_list_elem *elem); 25 void * list_remove(m_list_elem *elem);
26 26
27 27
28 #endif /* _DROPBEAR_LIST_H */ 28 #endif /* DROPBEAR_DROPBEAR_LIST_H */