Date: Wed, 7 Oct 2015 19:55:58 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288995 - head/lib/libc/rpc Message-ID: <201510071955.t97JtwMt046281@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Wed Oct 7 19:55:58 2015 New Revision: 288995 URL: https://svnweb.freebsd.org/changeset/base/288995 Log: Use proper function prototypes. Eliminates -Wstrict-prototypes warning Modified: head/lib/libc/rpc/getpublickey.c head/lib/libc/rpc/key_call.c Modified: head/lib/libc/rpc/getpublickey.c ============================================================================== --- head/lib/libc/rpc/getpublickey.c Wed Oct 7 19:10:38 2015 (r288994) +++ head/lib/libc/rpc/getpublickey.c Wed Oct 7 19:55:58 2015 (r288995) @@ -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: head/lib/libc/rpc/key_call.c ============================================================================== --- head/lib/libc/rpc/key_call.c Wed Oct 7 19:10:38 2015 (r288994) +++ head/lib/libc/rpc/key_call.c Wed Oct 7 19:55:58 2015 (r288995) @@ -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?201510071955.t97JtwMt046281>