svn commit: r309495 - stable/10/lib/libc/rpc
Ngie Cooper
ngie at FreeBSD.org
Sat Dec 3 18:21:29 UTC 2016
Author: ngie
Date: Sat Dec 3 18:21:28 2016
New Revision: 309495
URL: https://svnweb.freebsd.org/changeset/base/309495
Log:
MFC r288995:
r288995 (by rodrigc):
Use proper function prototypes.
Eliminates -Wstrict-prototypes warning
Modified:
stable/10/lib/libc/rpc/getpublickey.c
stable/10/lib/libc/rpc/key_call.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/libc/rpc/getpublickey.c
==============================================================================
--- stable/10/lib/libc/rpc/getpublickey.c Sat Dec 3 18:17:06 2016 (r309494)
+++ stable/10/lib/libc/rpc/getpublickey.c Sat Dec 3 18:21:28 2016 (r309495)
@@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$");
/*
* Hack to let ypserv/rpc.nisd use AUTH_DES.
*/
-int (*__getpublickey_LOCAL)() = 0;
+int (*__getpublickey_LOCAL)(const char *, char *) = 0;
/*
* Get somebody's public key
Modified: stable/10/lib/libc/rpc/key_call.c
==============================================================================
--- stable/10/lib/libc/rpc/key_call.c Sat Dec 3 18:17:06 2016 (r309494)
+++ stable/10/lib/libc/rpc/key_call.c Sat Dec 3 18:21:28 2016 (r309495)
@@ -81,9 +81,9 @@ __FBSDID("$FreeBSD$");
* implementations of these functions, and to call those in key_call().
*/
-cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0;
-cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0;
-des_block *(*__key_gendes_LOCAL)() = 0;
+cryptkeyres *(*__key_encryptsession_pk_LOCAL)(uid_t, void *arg) = 0;
+cryptkeyres *(*__key_decryptsession_pk_LOCAL)(uid_t, void *arg) = 0;
+des_block *(*__key_gendes_LOCAL)(uid_t, void *) = 0;
static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *);
More information about the svn-src-stable
mailing list