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:
le 2004-03-05 09:19:59 +00:00
parent d17cebce57
commit d23ba57557
8 changed files with 18 additions and 18 deletions

View File

@ -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__ */

View File

@ -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);

View File

@ -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__ */

View File

@ -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);

View File

@ -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__ */

View File

@ -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__ */

View File

@ -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__ */

View File

@ -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__ */