make si.c compile in kernels without COMPAT_43.

This commit is contained in:
peter 1996-08-03 00:21:44 +00:00
parent 670817af96
commit 44e8acdeee
2 changed files with 10 additions and 4 deletions

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id: si.c,v 1.48 1996/07/26 13:47:38 peter Exp $
* $Id: si.c,v 1.49 1996/07/26 16:55:37 peter Exp $
*/
#ifndef lint
@ -1193,7 +1193,10 @@ siioctl(dev, cmd, data, flag, p)
*/
switch (cmd) {
case TIOCSETAW: case TIOCSETAF:
case TIOCDRAIN: case TIOCSETP:
case TIOCDRAIN:
#ifdef COMPAT_43
case TIOCSETP:
#endif
blocked++; /* block writes for ttywait() and siparam() */
si_write_enable(pp, 0);
}

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id: si.c,v 1.48 1996/07/26 13:47:38 peter Exp $
* $Id: si.c,v 1.49 1996/07/26 16:55:37 peter Exp $
*/
#ifndef lint
@ -1193,7 +1193,10 @@ siioctl(dev, cmd, data, flag, p)
*/
switch (cmd) {
case TIOCSETAW: case TIOCSETAF:
case TIOCDRAIN: case TIOCSETP:
case TIOCDRAIN:
#ifdef COMPAT_43
case TIOCSETP:
#endif
blocked++; /* block writes for ttywait() and siparam() */
si_write_enable(pp, 0);
}