summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/tty_conf.c3
-rw-r--r--sys/sys/conf.h1
-rw-r--r--sys/sys/linedisc.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c
index a8a65ff..ba3d785 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 f2f9a17..dd68562 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 f2f9a17..dd68562 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;
OpenPOWER on IntegriCloud