Source-Changes-HG archive

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

[src/trunk]: src/sys/net remove extra memory region kept by "struct pfil_head...



details:   https://anonhg.NetBSD.org/src/rev/79ddf1444c3c
branches:  trunk
changeset: 485100:79ddf1444c3c
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Apr 19 04:46:23 2000 +0000

description:
remove extra memory region kept by "struct pfil_head pfil_head_t;".
it seems totally, unnecessary, or seems to be typo for typedef.
(correct me if i'm wrong)

diffstat:

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

diffs (19 lines):

diff -r e8991f9a71d9 -r 79ddf1444c3c sys/net/pfil.h
--- a/sys/net/pfil.h    Wed Apr 19 04:26:22 2000 +0000
+++ b/sys/net/pfil.h    Wed Apr 19 04:46:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfil.h,v 1.12 2000/02/22 10:45:47 darrenr Exp $        */
+/*     $NetBSD: pfil.h,v 1.13 2000/04/19 04:46:23 itojun Exp $ */
 
 /*
  * Copyright (c) 1996 Matthew R. Green
@@ -58,7 +58,8 @@
        pfil_list_t     ph_in;
        pfil_list_t     ph_out;
        int             ph_init;
-} pfil_head_t;
+};
+typedef struct pfil_head pfil_head_t;
 
 struct packet_filter_hook *pfil_hook_get __P((int, struct pfil_head *));
 int    pfil_add_hook __P((int (*func) __P((void *, int,



Home | Main Index | Thread Index | Old Index