Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnetinet Include component.c instead of d...



details:   https://anonhg.NetBSD.org/src/rev/57bb1ea81c70
branches:  trunk
changeset: 749864:57bb1ea81c70
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Dec 11 16:34:50 2009 +0000

description:
Include component.c instead of dummy.c so that domain constructors
get properly called.

diffstat:

 sys/rump/net/lib/libnetinet/Makefile |   4 ++--
 sys/rump/net/lib/libnetinet/dummy.c  |  28 ----------------------------
 2 files changed, 2 insertions(+), 30 deletions(-)

diffs (47 lines):

diff -r c4e14bc0896f -r 57bb1ea81c70 sys/rump/net/lib/libnetinet/Makefile
--- a/sys/rump/net/lib/libnetinet/Makefile      Fri Dec 11 16:10:56 2009 +0000
+++ b/sys/rump/net/lib/libnetinet/Makefile      Fri Dec 11 16:34:50 2009 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.3 2008/10/16 19:14:51 pooka Exp $
+#      $NetBSD: Makefile,v 1.4 2009/12/11 16:34:50 pooka Exp $
 #
 
 LIB=   rumpnet_netinet
 
-SRCS=  dummy.c
+SRCS=  component.c
 
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff -r c4e14bc0896f -r 57bb1ea81c70 sys/rump/net/lib/libnetinet/dummy.c
--- a/sys/rump/net/lib/libnetinet/dummy.c       Fri Dec 11 16:10:56 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-/*     $NetBSD: dummy.c,v 1.1 2008/10/16 19:14:51 pooka Exp $  */
-
-/*
- * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-int i_am_nonnondummy;



Home | Main Index | Thread Index | Old Index