summaryrefslogtreecommitdiffstats
path: root/sys/isa/joy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/joy.c')
-rw-r--r--sys/isa/joy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/isa/joy.c b/sys/isa/joy.c
index 99008ad..351c456 100644
--- a/sys/isa/joy.c
+++ b/sys/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;
OpenPOWER on IntegriCloud