aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
commit1ca05b0f393c0201c0e8efe87831edddb6a53532 (patch)
tree4419fdb78cba0962313f8e6bcf35d16a3401183e /src/misc.c
parentb5bb9db8425b3b463e634874e3a201a354d55ac7 (diff)
downloadseabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.zip
seabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.gz
seabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.bz2
Be sure to add "void" to all function prototypes that take no args.
Omitting "void" leads to a K&R style declaration which was not intended.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc.c b/src/misc.c
index 7d6e954..b33ef64 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -55,13 +55,13 @@ handle_10(struct bregs *regs)
// NMI handler
void VISIBLE16
-handle_02()
+handle_02(void)
{
debug_isr(DEBUG_ISR_02);
}
void
-mathcp_setup()
+mathcp_setup(void)
{
dprintf(3, "math cp init\n");
// 80x87 coprocessor installed
@@ -71,7 +71,7 @@ mathcp_setup()
// INT 75 - IRQ13 - MATH COPROCESSOR EXCEPTION
void VISIBLE16
-handle_75()
+handle_75(void)
{
debug_isr(DEBUG_ISR_75);