aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-05 06:05:54 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-03-05 06:05:54 -0500
commitbc97f19dc8be1f181f33b4368542c72498f3562a (patch)
tree388bea565aa1e53504e2d004eab6bd3193ac86a3 /crypto/digest.c
parent3e16bfbaf3195b4725bc87d6a1ef11bf7716e83d (diff)
[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 6fd43bddd545..b526cc348b79 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,6 +21,8 @@
21#include <linux/module.h> 21#include <linux/module.h>
22#include <linux/scatterlist.h> 22#include <linux/scatterlist.h>
23 23
24#include "internal.h"
25
24static int init(struct hash_desc *desc) 26static int init(struct hash_desc *desc)
25{ 27{
26 struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); 28 struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm);