Casting return to (void) was used to tell lint that you intended
to ignore the return value, so it didn't warn you about it.
Casting the third argument to (char *) was used as the most generic
pointer type in the days before compilers supported C89 (void *)
(except for a couple places it's used for byte-sized pointer math).
Signed-off-by: Alan Coopersmith <firstname.lastname@example.org>
Reviewed-by: Keith Packard <email@example.com>
Tested-by: Daniel Stone <firstname.lastname@example.org>