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/biosvar.h | |
parent | b5bb9db8425b3b463e634874e3a201a354d55ac7 (diff) | |
download | seabios-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.gz |
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
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) \ |