]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use proper #include for xdecrypt declarations.
authorRoland McGrath <roland@hack.frob.com>
Mon, 26 Aug 2013 22:04:02 +0000 (15:04 -0700)
committerRoland McGrath <roland@hack.frob.com>
Mon, 26 Aug 2013 22:04:02 +0000 (15:04 -0700)
ChangeLog
nis/nss_nis/nis-publickey.c
nss/nss_files/files-key.c

index 9cde90109444478ca314ced7753182d9e7af288e..2000233eb7ccebd25b756c6da44d07c253459387 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-08-26  Roland McGrath  <roland@hack.frob.com>
+
+       * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
+       instead of explicitly declaring xdecrypt.
+       * nis/nss_nis/nis-publickey.c: Likewise.
+
 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        [BZ #15890]
index 6870e095c621d098f3dfe55e9b5d4470facf8ec2..244e4649788f5fc70c997a034e1e9311889c18c2 100644 (file)
@@ -25,7 +25,7 @@
 #include <rpcsvc/yp.h>
 #include <rpcsvc/ypclnt.h>
 #include <rpc/key_prot.h>
-extern int xdecrypt (char *, char *);
+#include <rpc/des_crypt.h>
 
 #include "nss-nis.h"
 
index 96deac231190efbd7fb1404648060a8084caaa27..4b2cf24ea6b7570cf058db1562783fecd16b4d41 100644 (file)
 #include <string.h>
 #include <netdb.h>
 #include <rpc/key_prot.h>
+#include <rpc/des_crypt.h>
 #include "nsswitch.h"
 
 #define DATAFILE "/etc/publickey"
 
-/* Prototype for function in xcyrpt.c.  */
-extern int xdecrypt (char *, char *);
-
 
 static enum nss_status
 search (const char *netname, char *result, int *errnop, int secret)