Skip to content

Commit

Permalink
exp is a reserved name under posix
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Sep 16, 2003
1 parent 7633ddd commit 85e9bde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kame/sys/netinet6/ip6_id.c
@@ -1,4 +1,4 @@
/* $KAME: ip6_id.c,v 1.11 2003/09/15 23:39:12 itojun Exp $ */
/* $KAME: ip6_id.c,v 1.12 2003/09/16 00:30:52 itojun Exp $ */
/* $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */

/*
Expand Down Expand Up @@ -161,13 +161,13 @@ static u_int32_t randomid(struct randomtab *);
*/

static u_int32_t
pmod(u_int32_t gen, u_int32_t exp, u_int32_t mod)
pmod(u_int32_t gen, u_int32_t expo, u_int32_t mod)
{
u_int64_t s, t, u;

s = 1;
t = gen;
u = exp;
u = expo;

while (u) {
if (u & 1)
Expand Down

0 comments on commit 85e9bde

Please sign in to comment.