Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 exp is a reserved name under posix



details:   https://anonhg.NetBSD.org/src/rev/ab9957d9c9e6
branches:  trunk
changeset: 552009:ab9957d9c9e6
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Sep 16 00:31:23 2003 +0000

description:
exp is a reserved name under posix

diffstat:

 sys/netinet6/ip6_id.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r b5f2eecc1929 -r ab9957d9c9e6 sys/netinet6/ip6_id.c
--- a/sys/netinet6/ip6_id.c     Mon Sep 15 23:38:20 2003 +0000
+++ b/sys/netinet6/ip6_id.c     Tue Sep 16 00:31:23 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_id.c,v 1.8 2003/09/15 23:38:58 itojun Exp $        */
+/*     $NetBSD: ip6_id.c,v 1.9 2003/09/16 00:31:23 itojun Exp $        */
 /*     $KAME: ip6_id.c,v 1.8 2003/09/06 13:41:06 itojun Exp $  */
 /*     $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $       */
 
@@ -87,7 +87,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_id.c,v 1.8 2003/09/15 23:38:58 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_id.c,v 1.9 2003/09/16 00:31:23 itojun Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -151,13 +151,13 @@
  */
 
 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)



Home | Main Index | Thread Index | Old Index