summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-08-26 15:04:02 -0700
committerRoland McGrath <roland@hack.frob.com>2013-08-26 15:04:02 -0700
commit59d112a4c7b6bd3ab220abbb68d8127f316a109c (patch)
tree32d813cc9ef515949cf2dd8d0864d870de17c2ad /nss
parent595aba70a4c676f7efaf6a012f54cd22aa189c5b (diff)
Use proper #include for xdecrypt declarations.
Diffstat (limited to 'nss')
-rw-r--r--nss/nss_files/files-key.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nss/nss_files/files-key.c b/nss/nss_files/files-key.c
index 96deac2311..4b2cf24ea6 100644
--- a/nss/nss_files/files-key.c
+++ b/nss/nss_files/files-key.c
@@ -21,13 +21,11 @@
#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)