Move DELAY() from <machine/clock.h> to <sys/systm.h>
This commit is contained in:
parent
1198579d7b
commit
398bc678aa
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user