Source-Changes-HG archive

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

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



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

description:
exp is reserved name under posix

diffstat:

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

diffs (34 lines):

diff -r ab9957d9c9e6 -r 0e15ac360da9 sys/netinet/ip_id.c
--- a/sys/netinet/ip_id.c       Tue Sep 16 00:31:23 2003 +0000
+++ b/sys/netinet/ip_id.c       Tue Sep 16 00:31:55 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_id.c,v 1.1 2003/09/06 03:36:30 itojun Exp $ */
+/*     $NetBSD: ip_id.c,v 1.2 2003/09/16 00:31:55 itojun Exp $ */
 /*     $OpenBSD: ip_id.c,v 1.6 2002/03/15 18:19:52 millert Exp $       */
 
 /*
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_id.c,v 1.1 2003/09/06 03:36:30 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_id.c,v 1.2 2003/09/16 00:31:55 itojun Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -100,13 +100,13 @@
  */
 
 static u_int16_t
-pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
+pmod(u_int16_t gen, u_int16_t expo, u_int16_t mod)
 {
        u_int16_t s, t, u;
 
        s = 1;
        t = gen;
-       u = exp;
+       u = expo;
 
        while (u) {
                if (u & 1)



Home | Main Index | Thread Index | Old Index