diff options
author | dd <dd@FreeBSD.org> | 2001-06-04 23:30:47 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-06-04 23:30:47 +0000 |
commit | c6d2a1e6f90c071acdecb05059ce1108abdb5cb8 (patch) | |
tree | a52e55aca5d6f5364c2fd74df15b0265ef77d95c | |
parent | 7e25cedba658e2e86f2d376fe365e7a54cbc2e18 (diff) | |
download | FreeBSD-src-c6d2a1e6f90c071acdecb05059ce1108abdb5cb8.zip FreeBSD-src-c6d2a1e6f90c071acdecb05059ce1108abdb5cb8.tar.gz |
Unstaticize l_nullioctl; it is needed elsewhere (like in tty_snoop.c).
Suggested by: bde
-rw-r--r-- | sys/kern/tty_conf.c | 3 | ||||
-rw-r--r-- | sys/sys/conf.h | 1 | ||||
-rw-r--r-- | 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; |