aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-05 19:05:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-03-05 19:05:54 +0800
commitbc97f19dc8be1f181f33b4368542c72498f3562a (patch)
tree388bea565aa1e53504e2d004eab6bd3193ac86a3 /crypto/digest.c
parent3e16bfbaf3195b4725bc87d6a1ef11bf7716e83d (diff)
downloadkernel_samsung_smdk4412-bc97f19dc8be1f181f33b4368542c72498f3562a.zip
kernel_samsung_smdk4412-bc97f19dc8be1f181f33b4368542c72498f3562a.tar.gz
kernel_samsung_smdk4412-bc97f19dc8be1f181f33b4368542c72498f3562a.tar.bz2
[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/digest.c')
-rw-r--r--crypto/digest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 6fd43bd..b526cc3 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);