summaryrefslogtreecommitdiff
path: root/src/pmm.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/pmm.c
parentb5bb9db8425b3b463e634874e3a201a354d55ac7 (diff)
downloadqemu-seabios-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/pmm.c')
-rw-r--r--src/pmm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pmm.c b/src/pmm.c
index dab8fb3..0461e41 100644
--- a/src/pmm.c
+++ b/src/pmm.c
@@ -150,7 +150,7 @@ zone_free(void *data, u32 olddata)
// Report the status of all the zones.
static void
-dumpZones()
+dumpZones(void)
{
int i;
for (i=0; i<ARRAY_SIZE(Zones); i++) {
@@ -282,7 +282,7 @@ pmm_find(u32 handle)
}
void
-malloc_setup()
+malloc_setup(void)
{
ASSERT32FLAT();
dprintf(3, "malloc setup\n");
@@ -327,7 +327,7 @@ malloc_setup()
}
void
-malloc_finalize()
+malloc_finalize(void)
{
dprintf(3, "malloc finalize\n");
@@ -482,10 +482,10 @@ handle_pmm(u16 *args)
}
// romlayout.S
-extern void entry_pmm();
+extern void entry_pmm(void);
void
-pmm_setup()
+pmm_setup(void)
{
if (! CONFIG_PMM)
return;
@@ -498,7 +498,7 @@ pmm_setup()
}
void
-pmm_finalize()
+pmm_finalize(void)
{
if (! CONFIG_PMM)
return;