aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/joy/joy.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
commit6f4e0beb7eca16757834c4354bd6e9658e4033c2 (patch)
treeaaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/dev/joy/joy.c
parent3b0b66ee0ee9a214fd03469d55f15b97c25fb391 (diff)
downloadsrc-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.c7
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;