afs: use void * for generic pointers in the nfs translator dispatcher 89/12989/4
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 30 Mar 2018 03:36:21 +0000 (23:36 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 14 Aug 2018 22:35:26 +0000 (18:35 -0400)
commitf8672d0c0f6f58e773ce0e6e4b2fc7b19a5e7ffe
treeca69847c0005d583b899dd627886f9eb04454594
parentdc2141bf56b43a9531335f581767d7766895b8d2
afs: use void * for generic pointers in the nfs translator dispatcher

Replace the use of char * and char ** with void * for representing
generic pointers in the nfs dispatcher functions.  This was done to fix
a large number of compile time warnings, and allows us to remove a
number of explicit casts.

Also, remove the unnecessary char * casts of memset and memcpy arguments in the
nfs translator dispatcher.

This commit fixes a large number of Solaris Studio warning messages in the
form:

  ... warning: argument #X is incompatible with prototype:

Change-Id: I42e2d40b8112ada9417724282c0230f48a40324f
Reviewed-on: https://gerrit.openafs.org/12989
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/afs_nfsdisp.c