aboutsummaryrefslogtreecommitdiff
path: root/src/vgahooks.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/vgahooks.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/vgahooks.c')
-rw-r--r--src/vgahooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vgahooks.c b/src/vgahooks.c
index ef33be5..26ae156 100644
--- a/src/vgahooks.c
+++ b/src/vgahooks.c
@@ -69,7 +69,7 @@ getViaRamSpeed(u16 bdf)
}
static int
-getAMDRamSpeed()
+getAMDRamSpeed(void)
{
int bdf = pci_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_K8_NB_MEMCTL);
if (bdf < 0)