Move extern to h file

This commit is contained in:
Simon Long 2024-06-13 11:04:30 +01:00 committed by Johan Malm
parent 5b1ab48abf
commit e6c239e783
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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)
{