Use proper function prototypes.
Eliminates -Wstrict-prototypes warning
This commit is contained in:
parent
a730673058
commit
6790313541
@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
/*
|
/*
|
||||||
* Hack to let ypserv/rpc.nisd use AUTH_DES.
|
* 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
|
* Get somebody's public key
|
||||||
|
@ -81,9 +81,9 @@ __FBSDID("$FreeBSD$");
|
|||||||
* implementations of these functions, and to call those in key_call().
|
* implementations of these functions, and to call those in key_call().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cryptkeyres *(*__key_encryptsession_pk_LOCAL)() = 0;
|
cryptkeyres *(*__key_encryptsession_pk_LOCAL)(uid_t, void *arg) = 0;
|
||||||
cryptkeyres *(*__key_decryptsession_pk_LOCAL)() = 0;
|
cryptkeyres *(*__key_decryptsession_pk_LOCAL)(uid_t, void *arg) = 0;
|
||||||
des_block *(*__key_gendes_LOCAL)() = 0;
|
des_block *(*__key_gendes_LOCAL)(uid_t, void *) = 0;
|
||||||
|
|
||||||
static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *);
|
static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user