diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-01-03 17:43:37 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-01-03 17:43:37 -0500 |
commit | 1ca05b0f393c0201c0e8efe87831edddb6a53532 (patch) | |
tree | 4419fdb78cba0962313f8e6bcf35d16a3401183e /src/serial.c | |
parent | b5bb9db8425b3b463e634874e3a201a354d55ac7 (diff) | |
download | seabios-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/serial.c')
-rw-r--r-- | src/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serial.c b/src/serial.c index 493d421..3f68bc4 100644 --- a/src/serial.c +++ b/src/serial.c @@ -57,7 +57,7 @@ detect_serial(u16 port, u8 timeout, u8 count) } void -serial_setup() +serial_setup(void) { if (! CONFIG_SERIAL) return; @@ -224,7 +224,7 @@ detect_parport(u16 port, u8 timeout, u8 count) } void -lpt_setup() +lpt_setup(void) { if (! CONFIG_LPT) return; |