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

@@ -50,7 +50,7 @@ set_special_key_combo(int glfw_key, int mods, bool is_native) {
}
static inline Window*
active_window() {
active_window(void) {
Tab *t = global_state.callback_os_window->tabs + global_state.callback_os_window->active_tab;
Window *w = t->windows + t->active_window;
if (w->render_data.screen) return w;