use ioconf.h for pseudo-device attach prototypes
This commit is contained in:
parent
50213afafb
commit
1a4eecf195
@ -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
|
||||
|
7
sys/rump/kern/lib/libtty/TTY.ioconf
Normal file
7
sys/rump/kern/lib/libtty/TTY.ioconf
Normal 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
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user