Mercurial > hg > th-libs
changeset 69:28156333ef4c
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 15 Nov 2012 19:22:42 +0200 |
parents | 29f9651465c6 |
children | a0e1b29be35d |
files | th_config.h th_util.h |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/th_config.h Thu Nov 15 19:22:06 2012 +0200 +++ b/th_config.h Thu Nov 15 19:22:42 2012 +0200 @@ -18,7 +18,8 @@ /* Definitions */ -enum ITEM_TYPE { +enum ITEM_TYPE +{ ITEM_SECTION = 1, ITEM_COMMENT, ITEM_STRING,
--- a/th_util.h Thu Nov 15 19:22:06 2012 +0200 +++ b/th_util.h Thu Nov 15 19:22:42 2012 +0200 @@ -94,7 +94,8 @@ /* Doubly linked list handling */ -typedef struct _qlist_t { +typedef struct _qlist_t +{ void *data; size_t num; struct _qlist_t *prev, *next; @@ -125,7 +126,8 @@ /* Ringbuffer implementation */ -typedef struct { +typedef struct +{ char **data; int n, size; void (*deallocator)(void *);