mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 16:25:59 +00:00
Use proper function prototypes.
Eliminates -Wstrict-prototypes warning
This commit is contained in:
parent
a730673058
commit
6790313541
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288995
@ -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
|
||||
|
@ -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 *);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user