Changed files: lib/libc/rpc.orig/clnt_dg.c lib/libc/rpc.orig/clnt_generic.c lib/libc/rpc.orig/clnt_raw.c lib/libc/rpc/clnt_vc.c lib/libc/rpc/key_call.c Add casts to silcence gcc warnings. Some of these are very strange, I don't know whyt gcc mocks if we have a const char *, and the function itself is void *. diff -ruN lib/libc/rpc.orig/clnt_dg.c lib/libc/rpc/clnt_dg.c --- lib/libc/rpc.orig/clnt_dg.c Sun Apr 28 17:18:46 2002 +++ lib/libc/rpc/clnt_dg.c Fri Jul 12 14:55:33 2002 @@ -815,7 +815,7 @@ ops.cl_geterr = clnt_dg_geterr; ops.cl_freeres = clnt_dg_freeres; ops.cl_destroy = clnt_dg_destroy; - ops.cl_control = clnt_dg_control; + ops.cl_control = (void *)clnt_dg_control; } mutex_unlock(&ops_lock); thr_sigsetmask(SIG_SETMASK, &mask, NULL); diff -ruN lib/libc/rpc.orig/clnt_generic.c lib/libc/rpc/clnt_generic.c --- lib/libc/rpc.orig/clnt_generic.c Thu Jul 11 18:23:04 2002 +++ lib/libc/rpc/clnt_generic.c Fri Jul 12 14:55:33 2002 @@ -309,7 +309,7 @@ /* * Get the address of the server */ - if ((svcaddr = __rpcb_findaddr_timed(prog, vers, + if ((svcaddr = (struct netbuf *)__rpcb_findaddr_timed(prog, vers, (struct netconfig *)nconf, (char *)hostname, &cl, (struct timeval *)tp)) == NULL) { /* appropriate error number is set by rpcbind libraries */ diff -ruN lib/libc/rpc.orig/clnt_raw.c lib/libc/rpc/clnt_raw.c --- lib/libc/rpc.orig/clnt_raw.c Sun Apr 28 17:18:46 2002 +++ lib/libc/rpc/clnt_raw.c Fri Jul 12 14:55:33 2002 @@ -307,7 +307,7 @@ ops.cl_geterr = clnt_raw_geterr; ops.cl_freeres = clnt_raw_freeres; ops.cl_destroy = clnt_raw_destroy; - ops.cl_control = clnt_raw_control; + ops.cl_control = (void *)clnt_raw_control; } mutex_unlock(&ops_lock); return (&ops); diff -ruN lib/libc/rpc.orig/clnt_vc.c lib/libc/rpc/clnt_vc.c --- lib/libc/rpc.orig/clnt_vc.c Sun Apr 28 17:18:46 2002 +++ lib/libc/rpc/clnt_vc.c Fri Jul 12 14:55:33 2002 @@ -767,7 +767,7 @@ ops.cl_geterr = clnt_vc_geterr; ops.cl_freeres = clnt_vc_freeres; ops.cl_destroy = clnt_vc_destroy; - ops.cl_control = clnt_vc_control; + ops.cl_control = (void *)clnt_vc_control; } mutex_unlock(&ops_lock); thr_sigsetmask(SIG_SETMASK, &(mask), NULL); diff -ruN lib/libc/rpc.orig/key_call.c lib/libc/rpc/key_call.c --- lib/libc/rpc.orig/key_call.c Sun Apr 28 17:18:46 2002 +++ lib/libc/rpc/key_call.c Fri Jul 12 14:55:33 2002 @@ -94,7 +94,7 @@ { keystatus status; - if (!key_call((u_long) KEY_SET, (xdrproc_t)xdr_keybuf, secretkey, + if (!key_call((u_long) KEY_SET, (xdrproc_t)xdr_keybuf, (char *)secretkey, (xdrproc_t)xdr_keystatus, &status)) { return (-1); }