Mercurial > hg > th-libs
comparison th_network.h @ 783:db1a132c7754
Add missing void to mark empty function argument lists.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 20 Dec 2023 07:27:35 +0200 |
parents | 31bc1ed07cf5 |
children |
comparison
equal
deleted
inserted
replaced
782:94e8e6ad8c9e | 783:db1a132c7754 |
---|---|
128 | 128 |
129 void *node; | 129 void *node; |
130 } th_conn_t; | 130 } th_conn_t; |
131 | 131 |
132 | 132 |
133 int th_network_init(); | 133 int th_network_init(void); |
134 void th_network_close(void); | 134 void th_network_close(void); |
135 | 135 |
136 struct hostent *th_resolve_host(th_conn_t *conn, const char *name); | 136 struct hostent *th_resolve_host(th_conn_t *conn, const char *name); |
137 th_conn_t * th_conn_new( | 137 th_conn_t * th_conn_new( |
138 void (*errfunc)(th_conn_t *conn, int err, const char *msg), | 138 void (*errfunc)(th_conn_t *conn, int err, const char *msg), |