Source-Changes-HG archive

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

[src/trunk]: src/sys Commit missing files with domain list sets.



details:   https://anonhg.NetBSD.org/src/rev/2ffc3f7578f4
branches:  trunk
changeset: 573252:2ffc3f7578f4
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 23 22:24:39 2005 +0000

description:
Commit missing files with domain list sets.

diffstat:

 sys/netatalk/at_proto.c    |  9 ++++-----
 sys/netccitt/ccitt_proto.c |  8 ++++----
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (71 lines):

diff -r b7419eb71e21 -r 2ffc3f7578f4 sys/netatalk/at_proto.c
--- a/sys/netatalk/at_proto.c   Sun Jan 23 20:55:57 2005 +0000
+++ b/sys/netatalk/at_proto.c   Sun Jan 23 22:24:39 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at_proto.c,v 1.5 2004/04/22 01:01:40 matt Exp $        */
+/*     $NetBSD: at_proto.c,v 1.6 2005/01/23 22:24:39 matt Exp $        */
 
 /*
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at_proto.c,v 1.5 2004/04/22 01:01:40 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at_proto.c,v 1.6 2005/01/23 22:24:39 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -48,6 +48,7 @@
 #include <netatalk/ddp_var.h>
 #include <netatalk/at_extern.h>
 
+DOMAIN_DEFINE(atalkdomain);    /* forward declare and add to link set */
 
 const struct protosw atalksw[] = {
     {
@@ -72,9 +73,7 @@
 struct domain          atalkdomain = {
     PF_APPLETALK,      "appletalk",    0,      0,      0,
     atalksw, &atalksw[sizeof(atalksw)/sizeof(atalksw[0])],
-    0, rn_inithead,
+    rn_inithead,
     32,
     sizeof(struct sockaddr_at)
 };
-
-
diff -r b7419eb71e21 -r 2ffc3f7578f4 sys/netccitt/ccitt_proto.c
--- a/sys/netccitt/ccitt_proto.c        Sun Jan 23 20:55:57 2005 +0000
+++ b/sys/netccitt/ccitt_proto.c        Sun Jan 23 22:24:39 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccitt_proto.c,v 1.15 2004/04/22 01:01:40 matt Exp $    */
+/*     $NetBSD: ccitt_proto.c,v 1.16 2005/01/23 22:24:39 matt Exp $    */
 
 /*
  * Copyright (c) 1990, 1993
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccitt_proto.c,v 1.15 2004/04/22 01:01:40 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccitt_proto.c,v 1.16 2005/01/23 22:24:39 matt Exp $");
 
 #include "opt_hdlc.h"
 #include "opt_llc.h"
@@ -92,7 +92,7 @@
  * Definitions of protocols supported in the CCITT domain.
  */
 
-extern struct domain ccittdomain;
+DOMAIN_DEFINE(ccittdomain);    /* forward declare and add to link set */
 #define DOMAIN &ccittdomain
 
 #ifdef LLC
@@ -132,5 +132,5 @@
 
 struct domain ccittdomain =
        { PF_CCITT, "ccitt", 0, 0, 0, ccittsw,
-               &ccittsw[sizeof(ccittsw)/sizeof(ccittsw[0])], 0,
+               &ccittsw[sizeof(ccittsw)/sizeof(ccittsw[0])],
                rn_inithead, 32, sizeof (struct sockaddr_x25) };



Home | Main Index | Thread Index | Old Index