[PATCH obexd] client: Remove unused public function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

obex_io_error_quark is only used in session.c so can be static
---
 client/session.c |    2 +-
 client/session.h |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/client/session.c b/client/session.c
index 417295e..14bb3b9 100644
--- a/client/session.c
+++ b/client/session.c
@@ -111,7 +111,7 @@ static void transfer_progress(struct obc_transfer *transfer,
 					gint64 transferred, GError *err,
 					void *user_data);
 
-GQuark obex_io_error_quark(void)
+static GQuark obex_io_error_quark(void)
 {
 	return g_quark_from_static_string("obex-io-error-quark");
 }
diff --git a/client/session.h b/client/session.h
index f082510..a19b31f 100644
--- a/client/session.h
+++ b/client/session.h
@@ -27,9 +27,6 @@
 
 struct obc_session;
 
-#define OBEX_IO_ERROR obex_io_error_quark()
-GQuark obex_io_error_quark(void);
-
 typedef void (*session_callback_t) (struct obc_session *session,
 					GError *err, void *user_data);
 
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux