Skip to content

Commit

Permalink
[CRYPTO] digest: Include internal.h for prototypes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdrianBunk authored and herbertx committed Mar 5, 2008
1 parent 3e16bfb commit bc97f19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/digest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bc97f19

Please sign in to comment.