From c6d2a1e6f90c071acdecb05059ce1108abdb5cb8 Mon Sep 17 00:00:00 2001
From: dd
Date: Mon, 4 Jun 2001 23:30:47 +0000
Subject: Unstaticize l_nullioctl; it is needed elsewhere (like in
tty_snoop.c).
Suggested by: bde
---
sys/kern/tty_conf.c | 3 +--
sys/sys/conf.h | 1 +
sys/sys/linedisc.h | 1 +
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;
--
cgit v1.1