Mercurial > dropbear
comparison list.h @ 1276:9169e4e7cbee
fix empty C prototypes
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Fri, 01 Jan 2016 16:30:31 +0100 |
parents | 2bb4c662d1c2 |
children |
comparison
equal
deleted
inserted
replaced
1275:d49bda490798 | 1276:9169e4e7cbee |
---|---|
17 m_list_elem *last; | 17 m_list_elem *last; |
18 }; | 18 }; |
19 | 19 |
20 typedef struct _m_list m_list; | 20 typedef struct _m_list m_list; |
21 | 21 |
22 m_list * list_new(); | 22 m_list * list_new(void); |
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 |