diff options
author | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
commit | e7008a284eab826ab8cc8f3cdadd22a325c67196 (patch) | |
tree | aaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/dev/mse | |
parent | 6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff) | |
download | FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz |
Staticize and cleanup.
Diffstat (limited to 'sys/dev/mse')
-rw-r--r-- | sys/dev/mse/mse.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 2196a4c..768387e 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -11,7 +11,7 @@ * this software for any purpose. It is provided "as is" * without express or implied warranty. * - * $Id: mse.c,v 1.20 1995/12/08 11:14:40 julian Exp $ + * $Id: mse.c,v 1.21 1995/12/08 23:20:35 phk Exp $ */ /* * Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and @@ -90,7 +90,7 @@ static struct cdevsw mse_cdevsw = * sc_disablemouse() and sc_getmouse() routines must be called spl'd(). */ #define PROTOBYTES 5 -struct mse_softc { +static struct mse_softc { int sc_flags; int sc_mousetype; struct selinfo sc_selp; @@ -188,7 +188,7 @@ static void mse_enableati(), mse_disableati(), mse_getati(); * Keep the Logitech last, since I haven't figured out how to probe it * properly yet. (Someday I'll have the documentation.) */ -struct mse_types { +static struct mse_types { int m_type; /* Type of bus mouse */ int (*m_probe)(); /* Probe routine to test for it */ void (*m_enable)(); /* Start routine */ @@ -425,7 +425,6 @@ mseintr(unit) int unit; { register struct mse_softc *sc = &mse_sc[unit]; - pid_t p; #ifdef DEBUG static int mse_intrcnt = 0; |