From b0dcec9c7927d1fbdea56ef49f6f02bae0df113f Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 31 May 2012 15:43:27 +0200 Subject: [PATCH] network: Move UUID string definition to lib --- lib/uuid.h | 5 +++++ network/common.c | 1 + network/common.h | 5 ----- network/manager.c | 1 + network/server.c | 1 + 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/uuid.h b/lib/uuid.h index a44426aac..848baed38 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -48,6 +48,11 @@ extern "C" { #define AVRCP_REMOTE_UUID "0000110e-0000-1000-8000-00805f9b34fb" #define AVRCP_TARGET_UUID "0000110c-0000-1000-8000-00805f9b34fb" +#define PANU_UUID "00001115-0000-1000-8000-00805f9b34fb" +#define NAP_UUID "00001116-0000-1000-8000-00805f9b34fb" +#define GN_UUID "00001117-0000-1000-8000-00805f9b34fb" +#define BNEP_SVC_UUID "0000000f-0000-1000-8000-00805f9b34fb" + typedef struct { enum { BT_UUID_UNSPEC = 0, diff --git a/network/common.c b/network/common.c index c498c25ca..470407259 100644 --- a/network/common.c +++ b/network/common.c @@ -39,6 +39,7 @@ #include #include #include +#include #include diff --git a/network/common.h b/network/common.h index fefb75496..cb1f08a69 100644 --- a/network/common.h +++ b/network/common.h @@ -21,11 +21,6 @@ * */ -#define PANU_UUID "00001115-0000-1000-8000-00805f9b34fb" -#define NAP_UUID "00001116-0000-1000-8000-00805f9b34fb" -#define GN_UUID "00001117-0000-1000-8000-00805f9b34fb" -#define BNEP_SVC_UUID "0000000f-0000-1000-8000-00805f9b34fb" - int bnep_init(void); int bnep_cleanup(void); diff --git a/network/manager.c b/network/manager.c index dd0f31167..7fcd8f08b 100644 --- a/network/manager.c +++ b/network/manager.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/network/server.c b/network/server.c index e39769ad4..480c7e2c5 100644 --- a/network/server.c +++ b/network/server.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include