Mercurial > hg > th-libs
changeset 496:8c837a33cfb6
Add argument names to some function prototypes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Dec 2019 08:38:11 +0200 |
parents | 30c57a9ea3be |
children | ff3ebe22f6c5 |
files | th_config.h |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/th_config.h Mon Dec 16 00:30:20 2019 +0200 +++ b/th_config.h Wed Dec 25 08:38:11 2019 +0200 @@ -22,6 +22,7 @@ { ITEM_SECTION = 1, ITEM_COMMENT, + ITEM_STRING, ITEM_INT, ITEM_UINT, @@ -56,9 +57,9 @@ /* Functions */ -int th_cfg_read(th_ioctx *, th_cfgitem_t *); -void th_cfg_free(th_cfgitem_t *); -int th_cfg_write(th_ioctx *, const th_cfgitem_t *); +int th_cfg_read(th_ioctx *ctx, th_cfgitem_t *cfg); +void th_cfg_free(th_cfgitem_t *cfg); +int th_cfg_write(th_ioctx *ctx, const th_cfgitem_t *cfg); int th_cfg_add_section(th_cfgitem_t **cfg, const char *name, th_cfgitem_t *data); int th_cfg_add_comment(th_cfgitem_t **cfg, const char *comment);