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/i386/isa/joy.c | |
parent | 6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff) | |
download | FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz |
Staticize and cleanup.
Diffstat (limited to 'sys/i386/isa/joy.c')
-rw-r--r-- | sys/i386/isa/joy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/isa/joy.c b/sys/i386/isa/joy.c index 99008ad..351c456 100644 --- a/sys/i386/isa/joy.c +++ b/sys/i386/isa/joy.c @@ -81,7 +81,8 @@ static struct { extern int timer0_max_count; -int joyprobe (struct isa_device *), joyattach (struct isa_device *); +static int joyprobe (struct isa_device *); +static int joyattach (struct isa_device *); struct isa_driver joydriver = {joyprobe, joyattach, "joy"}; @@ -99,7 +100,7 @@ static struct cdevsw joy_cdevsw = static int get_tick (); -int +static int joyprobe (struct isa_device *dev) { #ifdef WANT_JOYSTICK_CONNECTED @@ -111,7 +112,7 @@ joyprobe (struct isa_device *dev) #endif } -int +static int joyattach (struct isa_device *dev) { int unit = dev->id_unit; |