From e6c239e783b33dd1e3698c37bb3c13a3b7285ae8 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Thu, 13 Jun 2024 11:04:30 +0100 Subject: [PATCH] Move extern to h file --- include/input/keyboard.h | 2 ++ src/action.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/input/keyboard.h b/include/input/keyboard.h index ff2d8500..1f523da3 100644 --- a/include/input/keyboard.h +++ b/include/input/keyboard.h @@ -9,6 +9,8 @@ struct seat; struct keyboard; struct wlr_keyboard; +extern struct keybind *cur_keybind; + void keyboard_reset_current_keybind(void); void keyboard_configure(struct seat *seat, struct wlr_keyboard *kb, bool is_virtual); diff --git a/src/action.c b/src/action.c index f8ce2f82..12523353 100644 --- a/src/action.c +++ b/src/action.c @@ -24,6 +24,7 @@ #include "ssd.h" #include "view.h" #include "workspaces.h" +#include "input/keyboard.h" enum action_arg_type { LAB_ACTION_ARG_STR = 0, @@ -177,8 +178,6 @@ const char *action_names[] = { NULL }; -extern struct keybind *cur_keybind; - void action_arg_add_str(struct action *action, const char *key, const char *value) { -- 2.52.0