mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 00:08:04 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user