aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.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/biosvar.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/biosvar.h')
-rw-r--r--src/biosvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index db6783e..b6e061b 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -232,11 +232,11 @@ struct extended_bios_data_area_s {
FLATPTR_TO_SEG(BUILD_LOWRAM_END - EBDA_SIZE_START*1024)
// Accessor functions
-static inline u16 get_ebda_seg() {
+static inline u16 get_ebda_seg(void) {
return GET_BDA(ebda_seg);
}
static inline struct extended_bios_data_area_s *
-get_ebda_ptr()
+get_ebda_ptr(void)
{
ASSERT32FLAT();
return MAKE_FLATPTR(get_ebda_seg(), 0);
@@ -279,7 +279,7 @@ static inline u32 __attribute_const get_global_offset(void) {
return 0;
}
#endif
-static inline u16 get_global_seg() {
+static inline u16 get_global_seg(void) {
return GET_SEG(GLOBAL_SEGREG);
}
#define GET_GLOBAL(var) \