diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-08-26 15:00:23 -0300 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-08-26 15:00:23 -0300 |
commit | bae34785e2fb371509eb0a2c7529f0fe2454dde8 (patch) | |
tree | 9dc33b9fa0380ed1893afa405b1c6df5c18abfc3 /src | |
parent | 730775d1226a30c37ff551955f093ddfcd18e600 (diff) |
Removed warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/agent.c | 2 | ||||
-rw-r--r-- | src/dbus-common.c | 2 | ||||
-rw-r--r-- | src/dbus-hci.c | 4 | ||||
-rw-r--r-- | src/hcid.h | 1 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/security.c | 7 |
6 files changed, 16 insertions, 2 deletions
diff --git a/src/agent.c b/src/agent.c index feb2b9cf..dc95be65 100644 --- a/src/agent.c +++ b/src/agent.c @@ -40,6 +40,8 @@ #include <dbus/dbus.h> #include <gdbus.h> +#include "logging.h" + #include "hcid.h" #include "adapter.h" #include "device.h" diff --git a/src/dbus-common.c b/src/dbus-common.c index ed41df8d..1ef69308 100644 --- a/src/dbus-common.c +++ b/src/dbus-common.c @@ -42,6 +42,8 @@ #include <dbus/dbus.h> #include <gdbus.h> +#include "logging.h" + #include "hcid.h" #include "manager.h" #include "adapter.h" diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 65b28da0..19acacea 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -45,8 +45,10 @@ #include <dbus/dbus.h> #include <gdbus.h> -#include "hcid.h" +#include "logging.h" #include "textfile.h" + +#include "hcid.h" #include "manager.h" #include "adapter.h" #include "device.h" @@ -151,7 +151,6 @@ int delete_entry(bdaddr_t *src, const char *storage, const char *key); int store_record(const gchar *src, const gchar *dst, sdp_record_t *rec); sdp_record_t *fetch_record(const gchar *src, const gchar *dst, const uint32_t handle); int delete_record(const gchar *src, const gchar *dst, const uint32_t handle); - gboolean plugin_init(GKeyFile *config); void plugin_cleanup(void); void __probe_servers(const char *adapter); @@ -48,6 +48,8 @@ #include <dbus/dbus.h> +#include "logging.h" + #include "hcid.h" #include "sdpd.h" #include "adapter.h" diff --git a/src/security.c b/src/security.c index 58fc3471..4f295a4a 100644 --- a/src/security.c +++ b/src/security.c @@ -29,7 +29,9 @@ #include <stdio.h> #include <errno.h> +#include <stdlib.h> #include <time.h> +#include <unistd.h> #include <sys/time.h> #include <sys/param.h> #include <sys/ioctl.h> @@ -43,8 +45,13 @@ #include <dbus/dbus.h> +#include "logging.h" #include "textfile.h" +#include "hcid.h" +#include "adapter.h" +#include "dbus-hci.h" + typedef enum { REQ_PENDING, REQ_SENT |