From dc5c831ea3b8711ff959d5fcf18d9215be74ac22 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 4 Mar 2010 14:11:44 -0300 Subject: [PATCH] obexd: Remove unnecessary header files includes --- obexd/src/bluetooth.c | 6 ------ obexd/src/dbus.h | 1 - obexd/src/manager.c | 2 +- obexd/src/mimetype.h | 2 -- obexd/src/obex.c | 1 - obexd/src/obex.h | 5 ----- obexd/src/service.c | 1 - 7 files changed, 1 insertion(+), 17 deletions(-) diff --git a/obexd/src/bluetooth.c b/obexd/src/bluetooth.c index c62e98da7..48b50fd62 100644 --- a/obexd/src/bluetooth.c +++ b/obexd/src/bluetooth.c @@ -32,16 +32,10 @@ #include #include -#include -#include -#include - #include #include -#include -#include "obexd.h" #include "logging.h" #include "bluetooth.h" #include "obex.h" diff --git a/obexd/src/dbus.h b/obexd/src/dbus.h index bcce914b5..e322d4f91 100644 --- a/obexd/src/dbus.h +++ b/obexd/src/dbus.h @@ -25,7 +25,6 @@ #define OPENOBEX_SERVICE "org.openobex" - void register_record(struct server *server); gint request_service_authorization(struct server *server, GIOChannel *io, const char *address); diff --git a/obexd/src/manager.c b/obexd/src/manager.c index a3f69c22b..f2687e5d0 100644 --- a/obexd/src/manager.c +++ b/obexd/src/manager.c @@ -25,6 +25,7 @@ #include #endif +#include #include #include #include @@ -32,7 +33,6 @@ #include #include -#include #include #include diff --git a/obexd/src/mimetype.h b/obexd/src/mimetype.h index a089ce8eb..69059cfe9 100644 --- a/obexd/src/mimetype.h +++ b/obexd/src/mimetype.h @@ -21,8 +21,6 @@ * */ -#define TARGET_SIZE 16 - typedef gboolean (*obex_object_io_func) (gpointer object, int flags, int err, gpointer user_data); diff --git a/obexd/src/obex.c b/obexd/src/obex.c index a774d887c..1994851f1 100644 --- a/obexd/src/obex.c +++ b/obexd/src/obex.c @@ -41,7 +41,6 @@ #include #include -#include #include "logging.h" #include "obex.h" diff --git a/obexd/src/obex.h b/obexd/src/obex.h index 69b5dfea8..8d5cd91a4 100644 --- a/obexd/src/obex.h +++ b/obexd/src/obex.h @@ -26,8 +26,6 @@ #include #endif -#include - #define OBJECT_SIZE_UNKNOWN -1 #define OBJECT_SIZE_DELETE -2 @@ -40,9 +38,6 @@ #define TARGET_SIZE 16 -struct obex_service_driver; -struct obex_mime_type_driver; - struct server { gboolean auto_accept; gchar *folder; diff --git a/obexd/src/service.c b/obexd/src/service.c index 2a376bec7..7093f30c3 100644 --- a/obexd/src/service.c +++ b/obexd/src/service.c @@ -30,7 +30,6 @@ #include #include -#include #include "obex.h" #include "service.h" -- 2.47.3