Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libtty use ioconf.h for pseudo-device atta...
details: https://anonhg.NetBSD.org/src/rev/bca5a249c98a
branches: trunk
changeset: 340027:bca5a249c98a
user: christos <christos%NetBSD.org@localhost>
date: Thu Aug 20 11:59:16 2015 +0000
description:
use ioconf.h for pseudo-device attach prototypes
diffstat:
sys/rump/kern/lib/libtty/Makefile | 8 ++++----
sys/rump/kern/lib/libtty/TTY.ioconf | 7 +++++++
sys/rump/kern/lib/libtty/tty_component.c | 6 +++---
3 files changed, 14 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r d1ecd5d5bee2 -r bca5a249c98a sys/rump/kern/lib/libtty/Makefile
--- a/sys/rump/kern/lib/libtty/Makefile Thu Aug 20 11:58:26 2015 +0000
+++ b/sys/rump/kern/lib/libtty/Makefile Thu Aug 20 11:59:16 2015 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2015/04/23 14:49:26 pooka Exp $
+# $NetBSD: Makefile,v 1.6 2015/08/20 11:59:16 christos Exp $
#
-.include <bsd.init.mk>
-
.PATH: ${.CURDIR}/../../../../kern \
${.CURDIR}/../../../../compat/common
LIB= rumpkern_tty
+IOCONF= TTY.ioconf
+SRCS= tty.c tty_bsdpty.c tty_conf.c tty_ptm.c tty_pty.c tty_tty.c tty_subr.c
-SRCS= tty.c tty_bsdpty.c tty_conf.c tty_ptm.c tty_pty.c tty_tty.c tty_subr.c
+.include <bsd.init.mk>
.if !empty(RUMP_NBCOMPAT:M60)
SRCS+= tty_60.c
diff -r d1ecd5d5bee2 -r bca5a249c98a sys/rump/kern/lib/libtty/TTY.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libtty/TTY.ioconf Thu Aug 20 11:59:16 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: TTY.ioconf,v 1.1 2015/08/20 11:59:16 christos Exp $
+
+ioconf tty
+
+include "conf/files"
+
+pseudo-device pty
diff -r d1ecd5d5bee2 -r bca5a249c98a sys/rump/kern/lib/libtty/tty_component.c
--- a/sys/rump/kern/lib/libtty/tty_component.c Thu Aug 20 11:58:26 2015 +0000
+++ b/sys/rump/kern/lib/libtty/tty_component.c Thu Aug 20 11:59:16 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty_component.c,v 1.1 2014/03/13 02:02:30 pooka Exp $ */
+/* $NetBSD: tty_component.c,v 1.2 2015/08/20 11:59:16 christos Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_component.c,v 1.1 2014/03/13 02:02:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_component.c,v 1.2 2015/08/20 11:59:16 christos Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -36,7 +36,7 @@
#include "rump_private.h"
#include "rump_vfs_private.h"
-void ptyattach(int);
+#include "ioconf.h"
RUMP_COMPONENT(RUMP_COMPONENT_KERN_VFS)
{
Home |
Main Index |
Thread Index |
Old Index