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/ramdisk.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/ramdisk.c')
-rw-r--r-- | src/ramdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ramdisk.c b/src/ramdisk.c index c1e0b8a..16c8b25 100644 --- a/src/ramdisk.c +++ b/src/ramdisk.c @@ -17,7 +17,7 @@ describe_ramdisk(struct drive_s *drive_g) } void -ramdisk_setup() +ramdisk_setup(void) { if (!CONFIG_COREBOOT_FLASH || !CONFIG_FLASH_FLOPPY) return; |