Be sure to add "void" to all function prototypes that take no args.
[seabios.git] / src / biosvar.h
index db6783e07b2421c5e92d9ca5e719d7e7f1c45a8e..b6e061b99cdb311f6c2fc206326b1e06a08d7ad1 100644 (file)
@@ -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)                                                 \