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:
Lukas Ertl 2004-03-05 09:19:59 +00:00
parent 6be8dbad95
commit 1bcf24ee9d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126649
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__ */