diff --git a/src/main.c b/src/main.c index 8f7e19c..ce1a47d 100644 --- a/src/main.c +++ b/src/main.c @@ -33,6 +33,8 @@ #include "storage.h" #include "file_storage.h" +fp_storage store; + extern DBusGConnection *fprintd_dbus_conn; static gboolean no_timeout = FALSE; static gboolean g_fatal_warnings = FALSE; diff --git a/src/storage.h b/src/storage.h index d908c59..28ed2b6 100644 --- a/src/storage.h +++ b/src/storage.h @@ -46,4 +46,4 @@ struct storage { typedef struct storage fp_storage; /* The currently setup store */ -fp_storage store; +extern fp_storage store;