linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] Remove unneeded headers include
@ 2014-04-02 21:06 Claudio Takahasi
  2014-04-02 21:06 ` [PATCH BlueZ] android: Fix minor typo Claudio Takahasi
  2014-04-04 18:22 ` [PATCH BlueZ] Remove unneeded headers include Johan Hedberg
  0 siblings, 2 replies; 4+ messages in thread
From: Claudio Takahasi @ 2014-04-02 21:06 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

---
 plugins/gatt-example.c        | 1 -
 profiles/proximity/main.c     | 1 -
 profiles/proximity/reporter.c | 2 --
 src/attrib-server.c           | 4 ----
 4 files changed, 8 deletions(-)

diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c
index 1e1483c..6e20b1f 100644
--- a/plugins/gatt-example.c
+++ b/plugins/gatt-example.c
@@ -32,7 +32,6 @@
 #include "lib/uuid.h"
 #include "src/plugin.h"
 #include "src/adapter.h"
-#include "src/hcid.h"
 #include "src/shared/util.h"
 #include "src/log.h"
 #include "attrib/gattrib.h"
diff --git a/profiles/proximity/main.c b/profiles/proximity/main.c
index d4fe419..8a350d4 100644
--- a/profiles/proximity/main.c
+++ b/profiles/proximity/main.c
@@ -33,7 +33,6 @@
 
 #include "src/log.h"
 #include "src/plugin.h"
-#include "src/hcid.h"
 #include "manager.h"
 
 static GKeyFile *config = NULL;
diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c
index 3e4c741..fb91bc1 100644
--- a/profiles/proximity/reporter.c
+++ b/profiles/proximity/reporter.c
@@ -38,13 +38,11 @@
 
 #include "lib/uuid.h"
 #include "src/dbus-common.h"
-#include "src/error.h"
 #include "src/adapter.h"
 #include "src/device.h"
 #include "src/profile.h"
 #include "src/service.h"
 #include "src/shared/util.h"
-#include "src/hcid.h"
 #include "attrib/gattrib.h"
 #include "attrib/att.h"
 #include "attrib/gatt.h"
diff --git a/src/attrib-server.c b/src/attrib-server.c
index ed843d0..e65fff2 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -38,13 +38,9 @@
 #include <bluetooth/sdp.h>
 #include <bluetooth/sdp_lib.h>
 
-#include <gdbus/gdbus.h>
-
 #include "lib/uuid.h"
 #include "btio/btio.h"
 #include "log.h"
-#include "sdpd.h"
-#include "hcid.h"
 #include "adapter.h"
 #include "device.h"
 #include "src/shared/util.h"
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH BlueZ] android: Fix minor typo
  2014-04-02 21:06 [PATCH BlueZ] Remove unneeded headers include Claudio Takahasi
@ 2014-04-02 21:06 ` Claudio Takahasi
  2014-04-02 21:19   ` Szymon Janc
  2014-04-04 18:22 ` [PATCH BlueZ] Remove unneeded headers include Johan Hedberg
  1 sibling, 1 reply; 4+ messages in thread
From: Claudio Takahasi @ 2014-04-02 21:06 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

---
 android/hardware/bt_gatt_server.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/hardware/bt_gatt_server.h b/android/hardware/bt_gatt_server.h
index 1a5a400..751d852 100644
--- a/android/hardware/bt_gatt_server.h
+++ b/android/hardware/bt_gatt_server.h
@@ -172,4 +172,4 @@ typedef struct {
 
 __END_DECLS
 
-#endif /* ANDROID_INCLUDE_BT_GATT_CLIENT_H */
+#endif /* ANDROID_INCLUDE_BT_GATT_SERVER_H */
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ] android: Fix minor typo
  2014-04-02 21:06 ` [PATCH BlueZ] android: Fix minor typo Claudio Takahasi
@ 2014-04-02 21:19   ` Szymon Janc
  0 siblings, 0 replies; 4+ messages in thread
From: Szymon Janc @ 2014-04-02 21:19 UTC (permalink / raw)
  To: Claudio Takahasi; +Cc: linux-bluetooth

Hi Claudio,

On Wednesday 02 April 2014 18:06:57 Claudio Takahasi wrote:
> ---
>  android/hardware/bt_gatt_server.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/android/hardware/bt_gatt_server.h
> b/android/hardware/bt_gatt_server.h index 1a5a400..751d852 100644
> --- a/android/hardware/bt_gatt_server.h
> +++ b/android/hardware/bt_gatt_server.h
> @@ -172,4 +172,4 @@ typedef struct {
> 
>  __END_DECLS
> 
> -#endif /* ANDROID_INCLUDE_BT_GATT_CLIENT_H */
> +#endif /* ANDROID_INCLUDE_BT_GATT_SERVER_H */

This is imported from Android and I'd prefer to keep this unmodified (and 
other headers from android/hardware). Only exception would be fixing 
compilation issue on Linux.

-- 
Szymon K. Janc
szymon.janc@gmail.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ] Remove unneeded headers include
  2014-04-02 21:06 [PATCH BlueZ] Remove unneeded headers include Claudio Takahasi
  2014-04-02 21:06 ` [PATCH BlueZ] android: Fix minor typo Claudio Takahasi
@ 2014-04-04 18:22 ` Johan Hedberg
  1 sibling, 0 replies; 4+ messages in thread
From: Johan Hedberg @ 2014-04-04 18:22 UTC (permalink / raw)
  To: Claudio Takahasi; +Cc: linux-bluetooth

Hi Claudio,

On Wed, Apr 02, 2014, Claudio Takahasi wrote:
> ---
>  plugins/gatt-example.c        | 1 -
>  profiles/proximity/main.c     | 1 -
>  profiles/proximity/reporter.c | 2 --
>  src/attrib-server.c           | 4 ----
>  4 files changed, 8 deletions(-)

This patch has been applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-04 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 21:06 [PATCH BlueZ] Remove unneeded headers include Claudio Takahasi
2014-04-02 21:06 ` [PATCH BlueZ] android: Fix minor typo Claudio Takahasi
2014-04-02 21:19   ` Szymon Janc
2014-04-04 18:22 ` [PATCH BlueZ] Remove unneeded headers include Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).