modules/bluez4: fix duplicated symbol

Summary:
Global variable should be declared as extern to avoid symbol duplication.
Fix compiling of ebluez4 module on OS X.

Test Plan:
Since Enlightenment cannot (yet) be fully compiled on OS X, I cannot test
the real-life impact of this change.

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2327
This commit is contained in:
Jean Guyomarc'h 2015-04-13 15:26:54 -04:00 committed by Mike Blumenkrantz
parent f1438a4187
commit 33631fa622
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@
#include "e_mod_main.h"
#include "ebluez4.h"
Context *ctxt = NULL;
typedef struct _Pair_Cb
{
void (*cb)(void *, Eina_Bool, const char *);

View File

@ -70,7 +70,7 @@ typedef struct _Context
Eina_List *adapters;
} Context;
Context *ctxt;
extern Context *ctxt;
void ebluez4_eldbus_init(void);
void ebluez4_eldbus_shutdown(void);