Remove superfluous casts to 'void*'

Every non-const pointer converts automatically to it.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2023-02-01 13:50:48 +01:00
committed by Serge Hallyn
parent 62172f6fb5
commit 1f6f1669cf
5 changed files with 5 additions and 5 deletions

View File

@ -151,7 +151,7 @@ static const char *gshadow_getname (const void *ent)
static void *gshadow_parse (const char *line)
{
return (void *) sgetsgent (line);
return sgetsgent (line);
}
static int gshadow_put (const void *ent, FILE * file)