Date: Sat, 3 Dec 2016 18:21:28 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r309495 - stable/10/lib/libc/rpc Message-ID: <201612031821.uB3ILSF9039604@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612031821.uB3ILSF9039604>