Skip to content

Commit

Permalink
[CRYPTO] lrw: round --> lrw_round
Browse files Browse the repository at this point in the history
Fixes:

crypto/lrw.c:99: warning: conflicting types for built-in function ‘round’

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
David S. Miller committed Dec 7, 2006
1 parent 8df3b0a commit 9ebed9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/lrw.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static inline void inc(be128 *iv)
iv->a = cpu_to_be64(be64_to_cpu(iv->a) + 1);
}

static inline void round(struct sinfo *s, void *dst, const void *src)
static inline void lrw_round(struct sinfo *s, void *dst, const void *src)
{
be128_xor(dst, &s->t, src); /* PP <- T xor P */
s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */
Expand Down Expand Up @@ -160,7 +160,7 @@ static int crypt(struct blkcipher_desc *d,
inc(iv);

first:
round(&s, wdst, wsrc);
lrw_round(&s, wdst, wsrc);

wsrc += bs;
wdst += bs;
Expand Down

0 comments on commit 9ebed9d

Please sign in to comment.