use ioconf.h for pseudo-device attach prototypes

This commit is contained in:
christos 2015-08-20 11:59:16 +00:00
parent 50213afafb
commit 1a4eecf195
3 changed files with 14 additions and 7 deletions

View File

@ -1,15 +1,15 @@
# $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
.include <bsd.init.mk>
.if !empty(RUMP_NBCOMPAT:M60)
SRCS+= tty_60.c
.endif

View File

@ -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

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: tty_component.c,v 1.1 2014/03/13 02:02:30 pooka Exp
#include "rump_private.h"
#include "rump_vfs_private.h"
void ptyattach(int);
#include "ioconf.h"
RUMP_COMPONENT(RUMP_COMPONENT_KERN_VFS)
{