]> granicus.if.org Git - libtirpc/commitdiff
libtirpc: fix prototyp
authorThorsten Kukuk <kukuk@suse.de>
Thu, 23 Apr 2015 12:44:31 +0000 (08:44 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 23 Apr 2015 13:18:19 +0000 (09:18 -0400)
gcc complains about the "simple" key_encryptsession_pk
prototype in auth_des:

Signed-off-by: Steve Dickson <steved@redhat.com>
src/auth_des.c

index 1ccbf28625b60964aa0bb966c926786ec98a39b9..f8749b0747935a34a2483e99f23ba0fb79019be0 100644 (file)
@@ -64,7 +64,7 @@
 
 extern bool_t xdr_authdes_cred( XDR *, struct authdes_cred *);
 extern bool_t xdr_authdes_verf( XDR *, struct authdes_verf *);
-extern int key_encryptsession_pk();
+extern int key_encryptsession_pk( char *, netobj *, des_block *);
 
 extern bool_t __rpc_get_time_offset(struct timeval *, nis_server *, char *,
        char **, char **);