From 1ca05b0f393c0201c0e8efe87831edddb6a53532 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 3 Jan 2010 17:43:37 -0500 Subject: 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. --- src/biosvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/biosvar.h') diff --git a/src/biosvar.h b/src/biosvar.h index db6783e0..b6e061b9 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) \ -- cgit