Move DELAY() from <machine/clock.h> to <sys/systm.h>

This commit is contained in:
Poul-Henning Kamp 2000-10-15 09:51:49 +00:00
parent 1198579d7b
commit 398bc678aa
7 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,6 @@ extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
void DELAY __P((int usec));
int sysbeep __P((int pitch, int period));
int acquire_timer2 __P((int mode));
int release_timer2 __P((void));

View File

@ -31,7 +31,6 @@ extern int apic_8254_intr;
*/
struct clockframe;
void DELAY __P((int usec));
int acquire_timer0 __P((int rate,
void (*function)(struct clockframe *frame)));
int acquire_timer2 __P((int mode));

View File

@ -29,6 +29,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/systm.h>
#include <sys/module.h>
#include <machine/clock.h>

View File

@ -31,7 +31,6 @@ extern int apic_8254_intr;
*/
struct clockframe;
void DELAY __P((int usec));
int acquire_timer0 __P((int rate,
void (*function)(struct clockframe *frame)));
int acquire_timer2 __P((int mode));

View File

@ -15,7 +15,6 @@ extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
void DELAY __P((int usec));
int sysbeep __P((int pitch, int period));
int acquire_timer2 __P((int mode));
int release_timer2 __P((void));

View File

@ -15,7 +15,6 @@ extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
void DELAY __P((int usec));
int sysbeep __P((int pitch, int period));
int acquire_timer2 __P((int mode));
int release_timer2 __P((void));

View File

@ -334,4 +334,8 @@ dev_t udev2dev(udev_t x, int b);
int uminor(udev_t dev);
int umajor(udev_t dev);
udev_t makeudev(int x, int y);
/* XXX: Should be void nanodelay(u_int nsec); */
void DELAY __P((int usec));
#endif /* !_SYS_SYSTM_H_ */