Source-Changes-HG archive

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

[src/trunk]: src/sys/sys We still use the pty_check prototype even if NO_DEV_...



details:   https://anonhg.NetBSD.org/src/rev/f2af27dbd581
branches:  trunk
changeset: 571129:f2af27dbd581
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 11 13:45:39 2004 +0000

description:
We still use the pty_check prototype even if NO_DEV_PTM. From Takahiro Kambe.

diffstat:

 sys/sys/pty.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 2388d7cbf230 -r f2af27dbd581 sys/sys/pty.h
--- a/sys/sys/pty.h     Thu Nov 11 13:42:55 2004 +0000
+++ b/sys/sys/pty.h     Thu Nov 11 13:45:39 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pty.h,v 1.1 2004/11/10 17:32:20 christos Exp $ */
+/*     $NetBSD: pty.h,v 1.2 2004/11/11 13:45:39 christos Exp $ */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -39,12 +39,12 @@
 #define _SYS_PTY_H_
 
 int pty_isfree(int, int);
+int pty_check(int);
 
 #ifndef NO_DEV_PTM
 void ptmattach(int);
 int pty_fill_ptmget(dev_t, int, int, void *);
 int pty_grant_slave(struct proc *, dev_t);
-int pty_check(int);
 dev_t pty_makedev(char, int);
 int pty_vn_open(struct vnode *, struct proc *);
 struct ptm_pty *pty_sethandler(struct ptm_pty *);



Home | Main Index | Thread Index | Old Index