Source-Changes-HG archive

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

[src/trunk]: src/sys/net u_long -> unsigned long, so this header compiles on ...



details:   https://anonhg.NetBSD.org/src/rev/d78a890275f9
branches:  trunk
changeset: 781775:d78a890275f9
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Sep 30 05:02:08 2012 +0000

description:
u_long -> unsigned long, so this header compiles on its own like it
should. (and without adding <sys/types.h>)

diffstat:

 sys/net/pfil.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 537a185917d1 -r d78a890275f9 sys/net/pfil.h
--- a/sys/net/pfil.h    Sun Sep 30 03:48:16 2012 +0000
+++ b/sys/net/pfil.h    Sun Sep 30 05:02:08 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfil.h,v 1.29 2008/05/29 14:51:27 mrg Exp $    */
+/*     $NetBSD: pfil.h,v 1.30 2012/09/30 05:02:08 dholland Exp $       */
 
 /*
  * Copyright (c) 1996 Matthew R. Green
@@ -74,7 +74,7 @@
        pfil_list_t     ph_ifnetevent; /* XXX naming collision */
        int             ph_type;
        union {
-               u_long          phu_val;
+               unsigned long   phu_val;
                void            *phu_ptr;
        } ph_un;
 #define        ph_af           ph_un.phu_val
@@ -96,7 +96,7 @@
 int    pfil_head_register(struct pfil_head *);
 int    pfil_head_unregister(struct pfil_head *);
 
-struct pfil_head *pfil_head_get(int, u_long);
+struct pfil_head *pfil_head_get(int, unsigned long);
 
 static __inline struct packet_filter_hook *
 pfil_hook_get(int dir, struct pfil_head *ph)



Home | Main Index | Thread Index | Old Index