aboutsummaryrefslogtreecommitdiffstats
path: root/src/post.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/post.c
parentb5bb9db8425b3b463e634874e3a201a354d55ac7 (diff)
downloadseabios-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.gz
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/post.c')
-rw-r--r--src/post.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post.c b/src/post.c
index db9d8f72..2d20ffa3 100644
--- a/src/post.c
+++ b/src/post.c
@@ -36,7 +36,7 @@ __set_irq(int vector, void *loc)
} while (0)
static void
-init_ivt()
+init_ivt(void)
{
dprintf(3, "init ivt\n");
@@ -78,7 +78,7 @@ init_ivt()
}
static void
-init_bda()
+init_bda(void)
{
dprintf(3, "init bda\n");
@@ -163,7 +163,7 @@ init_bios_tables(void)
// Main setup code.
static void
-post()
+post(void)
{
// Detect and init ram.
init_ivt();
@@ -236,7 +236,7 @@ post()
// 32-bit entry point.
void VISIBLE32FLAT
-_start()
+_start(void)
{
init_dma();