aboutsummaryrefslogtreecommitdiff
path: root/src/output.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/output.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/output.c')
-rw-r--r--src/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output.c b/src/output.c
index 2e7175e..3de565a 100644
--- a/src/output.c
+++ b/src/output.c
@@ -25,7 +25,7 @@ struct putcinfo {
#define DEBUG_TIMEOUT 100000
void
-debug_serial_setup()
+debug_serial_setup(void)
{
if (!CONFIG_DEBUG_SERIAL)
return;
@@ -59,7 +59,7 @@ debug_serial(char c)
// Make sure all serial port writes have been completely sent.
static void
-debug_serial_flush()
+debug_serial_flush(void)
{
if (!CONFIG_DEBUG_SERIAL)
return;