Move variables from header to source to fix build
with -fno-common
Change-Id: I1897f8f0daacd6de74344248c85512b373255d88
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
static Eina_List *einput_devices;
static E_Input_Device *e_input_device_default = NULL;
+struct xkb_keymap *cached_keymap;
+struct xkb_context *cached_context;
+
static int
_device_open_no_pending(const char *device, int flags)
{
#include <libinput.h>
#include <Eeze.h>
-struct xkb_keymap *cached_keymap;
-struct xkb_context *cached_context;
+extern struct xkb_keymap *cached_keymap;
+extern struct xkb_context *cached_context;
#define E_INPUT_ENV_LIBINPUT_LOG_DISABLE "E_INPUT_LIBINPUT_LOG_DISABLE"
#define E_INPUT_ENV_LIBINPUT_LOG_EINA_LOG "E_INPUT_LIBINPUT_LOG_EINA_LOG"