projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first stab
[unix-history]
/
usr
/
src
/
sys
/
kern
/
tty.c
diff --git
a/usr/src/sys/kern/tty.c
b/usr/src/sys/kern/tty.c
index
7e0c756
..
c4a121e
100644
(file)
--- a/
usr/src/sys/kern/tty.c
+++ b/
usr/src/sys/kern/tty.c
@@
-1,4
+1,4
@@
-/* tty.c 3.
4
%H% */
+/* tty.c 3.
5
%H% */
/*
* general TTY subroutines
/*
* general TTY subroutines
@@
-155,6
+155,7
@@
gtty()
* Do nothing specific version of line
* discipline specific ioctl command.
*/
* Do nothing specific version of line
* discipline specific ioctl command.
*/
+/*ARGSUSED*/
nullioctl(tp, cmd, addr)
register struct tty *tp;
caddr_t addr;
nullioctl(tp, cmd, addr)
register struct tty *tp;
caddr_t addr;
@@
-219,6
+220,7
@@
caddr_t addr;
{
unsigned t;
struct sgttyb iocb;
{
unsigned t;
struct sgttyb iocb;
+ struct clist tq;
extern int nldisp;
switch(com) {
extern int nldisp;
switch(com) {
@@
-269,10
+271,7
@@
caddr_t addr;
* Set new parameters
*/
case TIOCSETP:
* Set new parameters
*/
case TIOCSETP:
- case TIOCSETN: {
- struct clist tq;
- register c;
-
+ case TIOCSETN:
if (copyin(addr, (caddr_t)&iocb, sizeof(iocb))) {
u.u_error = EFAULT;
return(1);
if (copyin(addr, (caddr_t)&iocb, sizeof(iocb))) {
u.u_error = EFAULT;
return(1);
@@
-313,7
+312,6
@@
caddr_t addr;
tp->t_flags = iocb.sg_flags;
(void) spl0();
break;
tp->t_flags = iocb.sg_flags;
(void) spl0();
break;
- }
/*
* send current parameters to user
/*
* send current parameters to user