diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c index a8a65ff047cd..ba3d785e5b9f 100644 --- a/sys/kern/tty_conf.c +++ b/sys/kern/tty_conf.c @@ -52,7 +52,6 @@ static l_open_t l_noopen; static l_close_t l_noclose; -static l_ioctl_t l_nullioctl; static l_rint_t l_norint; static l_start_t l_nostart; @@ -198,7 +197,7 @@ l_nostart(tp) * Do nothing specific version of line * discipline specific ioctl command. */ -static int +int l_nullioctl(tp, cmd, data, flags, p) struct tty *tp; u_long cmd; diff --git a/sys/sys/conf.h b/sys/sys/conf.h index f2f9a17db257..dd68562a1441 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -270,6 +270,7 @@ d_dump_t nodump; d_open_t nullopen; d_close_t nullclose; +l_ioctl_t l_nullioctl; l_read_t l_noread; l_write_t l_nowrite; diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index f2f9a17db257..dd68562a1441 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -270,6 +270,7 @@ d_dump_t nodump; d_open_t nullopen; d_close_t nullclose; +l_ioctl_t l_nullioctl; l_read_t l_noread; l_write_t l_nowrite;