diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
commit | 6f4e0beb7eca16757834c4354bd6e9658e4033c2 (patch) | |
tree | aaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/dev/joy/joy.c | |
parent | 3b0b66ee0ee9a214fd03469d55f15b97c25fb391 (diff) | |
download | src-6f4e0beb7eca16757834c4354bd6e9658e4033c2.tar.gz src-6f4e0beb7eca16757834c4354bd6e9658e4033c2.zip |
Staticize and cleanup.
Notes
Notes:
svn path=/head/; revision=12724
Diffstat (limited to 'sys/dev/joy/joy.c')
-rw-r--r-- | sys/dev/joy/joy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index 99008ad04d94..351c456f4220 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/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; |