aboutsummaryrefslogtreecommitdiff
path: root/src/memmap.h
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/memmap.h
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/memmap.h')
-rw-r--r--src/memmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memmap.h b/src/memmap.h
index 616ae35..68eb6ac 100644
--- a/src/memmap.h
+++ b/src/memmap.h
@@ -17,8 +17,8 @@ struct e820entry {
};
void add_e820(u64 start, u64 size, u32 type);
-void memmap_setup();
-void memmap_finalize();
+void memmap_setup(void);
+void memmap_finalize(void);
struct e820entry *find_high_area(u32 size);
// A typical OS page size