Don't be too fancy with null'ed out functions.

Requested by:	jake
This commit is contained in:
obrien 2002-03-28 04:33:51 +00:00
parent 40f268c017
commit 375a27ced0

View File

@ -28,17 +28,12 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <machine/clock.h>
u_long tick_increment;
u_long tick_freq;
u_long tick_MHz;
struct mtx clock_lock;
static int beeping = 0;
void
cpu_initclocks(void)
{
@ -70,11 +65,10 @@ resettodr(void)
TODO;
}
static void
sysbeepstop(void *chan)
void
setstatclockrate(int newhz)
{
#warning sysbeepstop() needs filling in.
beeping = 0;
TODO;
}
int
@ -83,16 +77,5 @@ sysbeep(int pitch, int period)
/*
* XXX: function exists to enable RAID drivers to compile at the moment.
*/
#warning sysbeep() needs filling in.
mtx_lock_spin(&clock_lock);
timeout(sysbeepstop, (void *)NULL, period);
mtx_unlock_spin(&clock_lock);
return (0);
}
void
setstatclockrate(int newhz)
{
TODO;
}