diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-22 23:40:01 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-22 23:40:01 -0800 |
| commit | 236781a2c13feb96a6dd56f762b2df6fec1dfee5 (patch) | |
| tree | f04211282c1e9e57e6dd9def60a11db1e4545906 /src/core/list.h | |
| parent | bca0a27e2f4978a5a74748b07613c0e30014880c (diff) | |
| download | nng-236781a2c13feb96a6dd56f762b2df6fec1dfee5.tar.gz nng-236781a2c13feb96a6dd56f762b2df6fec1dfee5.tar.bz2 nng-236781a2c13feb96a6dd56f762b2df6fec1dfee5.zip | |
More C99-ification. Also end the _t thing for types (ISO C rules).
Diffstat (limited to 'src/core/list.h')
| -rw-r--r-- | src/core/list.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/list.h b/src/core/list.h index 68e6080d..822d9621 100644 --- a/src/core/list.h +++ b/src/core/list.h @@ -24,9 +24,6 @@ typedef struct nni_list { size_t ll_offset; } nni_list; -typedef nni_list nni_list_t; -typedef nni_list_node nni_list_node_t; - extern void nni_list_init_offset(nni_list *list, size_t offset); #define NNI_LIST_INIT(list, type, field) \ @@ -43,4 +40,4 @@ extern void nni_list_node_init(nni_list *, void *); #define NNI_LIST_FOREACH(l, it) \ for (it = nni_list_first(l); it != NULL; it = nni_list_next(l, it)) -#endif /* CORE_LIST_H */ +#endif // CORE_LIST_H |
