Fix syntax errors and wrong function prototypes in several MD header
files when using non-GNUC compilers. PR: kern/58515 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Approved by: grog (mentor), obrien
This commit is contained in:
parent
d17cebce57
commit
d23ba57557
@ -81,8 +81,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
@ -744,9 +744,9 @@ void lldt(u_short sel);
|
||||
void ltr(u_short sel);
|
||||
void outb(u_int port, u_char data);
|
||||
void outl(u_int port, u_int data);
|
||||
void outsb(u_int port, void *addr, size_t cnt);
|
||||
void outsl(u_int port, void *addr, size_t cnt);
|
||||
void outsw(u_int port, void *addr, size_t cnt);
|
||||
void outsb(u_int port, const void *addr, size_t cnt);
|
||||
void outsl(u_int port, const void *addr, size_t cnt);
|
||||
void outsw(u_int port, const void *addr, size_t cnt);
|
||||
void outw(u_int port, u_short data);
|
||||
void ia32_pause(void);
|
||||
u_int rcr0(void);
|
||||
|
@ -75,8 +75,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
@ -650,9 +650,9 @@ void lldt(u_short sel);
|
||||
void ltr(u_short sel);
|
||||
void outb(u_int port, u_char data);
|
||||
void outl(u_int port, u_int data);
|
||||
void outsb(u_int port, void *addr, size_t cnt);
|
||||
void outsl(u_int port, void *addr, size_t cnt);
|
||||
void outsw(u_int port, void *addr, size_t cnt);
|
||||
void outsb(u_int port, const void *addr, size_t cnt);
|
||||
void outsl(u_int port, const void *addr, size_t cnt);
|
||||
void outsw(u_int port, const void *addr, size_t cnt);
|
||||
void outw(u_int port, u_short data);
|
||||
void ia32_pause(void);
|
||||
u_int rcr0(void);
|
||||
|
@ -83,8 +83,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
@ -82,8 +82,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
@ -85,8 +85,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
@ -85,8 +85,8 @@ cpu_critical_exit(void)
|
||||
|
||||
#else /* !__GNUC__ */
|
||||
|
||||
void cpu_critical_enter(void)
|
||||
void cpu_critical_exit(void)
|
||||
void cpu_critical_enter(void);
|
||||
void cpu_critical_exit(void);
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user