Mercurial > hg > th-libs
diff th_util.c @ 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 |
line wrap: on
line diff
--- a/th_util.c Thu Aug 03 09:04:43 2023 +0300 +++ b/th_util.c Wed Dec 20 07:27:35 2023 +0200 @@ -77,7 +77,7 @@ } -int th_term_width() +int th_term_width(void) { #ifdef TH_PLAT_UNIX struct winsize cwz; @@ -94,7 +94,7 @@ } -int th_term_height() +int th_term_height(void) { #ifdef TH_PLAT_UNIX struct winsize cwz; @@ -181,7 +181,7 @@ /* Error handling */ -int th_get_error() +int th_get_error(void) { return th_errno_to_error(errno); }