summaryrefslogtreecommitdiff
path: root/crypto
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
commite48ea71c75f2c7f5b1d307492334aea301b0d8ed (patch)
tree46db1fde4cf42217b7cd29d289010398fe78dbf7 /crypto
parente0fe9e4f703bbd205936bb07a15dba3a632b3fa2 (diff)
downloadlinux-crypto-e48ea71c75f2c7f5b1d307492334aea301b0d8ed.tar.gz
linux-crypto-e48ea71c75f2c7f5b1d307492334aea301b0d8ed.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 6fd43bdd..b526cc34 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);