comparison list.h @ 1250:2bb4c662d1c2

more hard tab
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 15:02:09 +0100
parents deed0571cacc
children 9169e4e7cbee
comparison
equal deleted inserted replaced
1249:c6346c63281b 1250:2bb4c662d1c2
2 #define DROPBEAR_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;
8 struct _m_list_elem *next; 8 struct _m_list_elem *next;
9 struct _m_list_elem *prev; 9 struct _m_list_elem *prev;
10 struct _m_list *list; 10 struct _m_list *list;
11 }; 11 };
12 12
13 typedef struct _m_list_elem m_list_elem; 13 typedef struct _m_list_elem m_list_elem;
14 14
15 struct _m_list { 15 struct _m_list {
16 m_list_elem *first; 16 m_list_elem *first;
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();