Use proper function prototypes.

Eliminates -Wstrict-prototypes warning
This commit is contained in:
Craig Rodrigues 2015-10-07 19:55:58 +00:00
parent a730673058
commit 6790313541
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288995
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 *);