diff options
author | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
commit | 78ea2a381b4a1829338088dc12e054d05bd32b59 (patch) | |
tree | 0e4fed627017f370a1dc320465630b9b87d4f4af /sys/dev/joy | |
parent | 54924772e9c10201de95bda5b1765dc4efc93604 (diff) | |
download | FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.zip FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.tar.gz |
Completed function declarations and/or added prototypes and/or added
#includes to get prototypes.
Diffstat (limited to 'sys/dev/joy')
-rw-r--r-- | sys/dev/joy/joy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index 351c456..55a8e5a 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -40,6 +40,7 @@ #include <sys/devfsext.h> #endif /*DEVFS*/ +#include <machine/clock.h> #include <machine/joystick.h> #include <i386/isa/isa.h> @@ -79,8 +80,6 @@ static struct { } joy[NJOY]; -extern int timer0_max_count; - static int joyprobe (struct isa_device *); static int joyattach (struct isa_device *); @@ -97,7 +96,7 @@ static struct cdevsw joy_cdevsw = joyioctl, nostop, nullreset, nodevtotty,/*joystick */ seltrue, nommap, NULL, "joy", NULL, -1 }; -static int get_tick (); +static int get_tick __P((void)); static int |