summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-05 12:05:54 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-03-05 12:05:54 +0100
commitbc97f19dc8be1f181f33b4368542c72498f3562a (patch)
tree388bea565aa1e53504e2d004eab6bd3193ac86a3 /crypto
parent[CRYPTO] authenc: Add missing Kconfig dependency on BLKCIPHER (diff)
downloadlinux-bc97f19dc8be1f181f33b4368542c72498f3562a.tar.xz
linux-bc97f19dc8be1f181f33b4368542c72498f3562a.zip
[CRYPTO] digest: Include internal.h for prototypes
Every file should include the headers containing the externs for its global code (in this case for struct crypto_{init,exit}_digest_ops()). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/digest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 6fd43bddd545..b526cc348b79 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,6 +21,8 @@
#include <linux/module.h>
#include <linux/scatterlist.h>
+#include "internal.h"
+
static int init(struct hash_desc *desc)
{
struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm);