Add void to all function declarations for functions that take no arguments

Micro-optimization for some architectures. Enforced via
-Wstrict-prototypes
This commit is contained in:
Kovid Goyal
2019-05-13 10:59:01 +05:30
parent 3e964163c0
commit 4fff84b4b9
26 changed files with 78 additions and 76 deletions

View File

@@ -405,7 +405,7 @@ HANDLER(handle_button_event) {
}
static inline int
currently_pressed_button() {
currently_pressed_button(void) {
for (int i = 0; i < GLFW_MOUSE_BUTTON_5; i++) {
if (global_state.callback_os_window->mouse_button_pressed[i]) return i;
}