diff options
author | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
commit | 63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (patch) | |
tree | 17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/dev/snp | |
parent | 30e263dcabc35e19f5e060d92f09d212e9b56668 (diff) | |
download | FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.zip FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.tar.gz |
A Major staticize sweep. Generates a couple of warnings that I'll deal
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.
Diffstat (limited to 'sys/dev/snp')
-rw-r--r-- | sys/dev/snp/snp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 36d08d7..ed9ae26 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -22,9 +22,7 @@ #include <sys/ioctl.h> #include <sys/ioctl_compat.h> /* Oooh..We need O/NTTYDISC */ #include <sys/proc.h> -#define TTYDEFCHARS #include <sys/tty.h> -#undef TTYDEFCHARS #include <sys/file.h> #include <sys/conf.h> #include <sys/uio.h> @@ -57,6 +55,7 @@ static struct cdevsw snp_cdevsw = static struct snoop snoopsw[NSNP]; static struct tty *devtotty __P((dev_t dev)); +static int snp_detach __P((struct snoop *snp)); static struct tty * devtotty (dev) @@ -320,7 +319,7 @@ snpopen(dev, flag, mode, p) } -int +static int snp_detach(snp) struct snoop *snp; { |