Use strict prototypes

Function declarations with no argument declare functions taking an
arbitrary number of arguments. Use the special type void to declare
functions taking no argument.
This commit is contained in:
Christian Göttsche
2022-01-03 12:43:01 +01:00
parent f84b8530c5
commit 45bba0e190
3 changed files with 16 additions and 16 deletions

View File

@ -29,7 +29,7 @@ bool nss_is_initialized() {
return atomic_load(&nss_init_completed);
}
static void nss_exit() {
static void nss_exit(void) {
if (nss_is_initialized() && subid_nss) {
dlclose(subid_nss->handle);
free(subid_nss);