nts: define type for credentials

Add a NKSN_Credentials type to avoid referring to it as void *.
This commit is contained in:
Miroslav Lichvar
2021-02-11 11:05:25 +01:00
parent 0e4995e10b
commit 80e627c86b
5 changed files with 18 additions and 15 deletions

View File

@@ -162,7 +162,7 @@ check_finished(void *arg)
void
test_unit(void)
{
void *client_cred, *server_cred;
NKSN_Credentials client_cred, server_cred;
int sock_fds[2], i;
LCL_Initialise();