summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-08 20:54:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-08 20:54:55 +0000
commit8bf636881f152a97727774f4f9ea2504c72dfb23 (patch)
treef6df657dc2d48667766de2331ad6587d40661b21
parenteef93c82a0e106dd12c29c1ed3a06502d92bcef2 (diff)
Use DBG in plugin to show function names
-rw-r--r--audio/main.c4
-rw-r--r--input/main.c4
-rw-r--r--network/main.c4
-rw-r--r--serial/main.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/audio/main.c b/audio/main.c
index 2b9a1e95..06a2a046 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -44,14 +44,14 @@ static DBusConnection *conn;
static int audio_probe(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
return 0;
}
static void audio_remove(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
}
static struct btd_device_driver audio_driver = {
diff --git a/input/main.c b/input/main.c
index 990ca360..6b5e7c8f 100644
--- a/input/main.c
+++ b/input/main.c
@@ -77,7 +77,7 @@ static DBusConnection *conn;
static int input_probe(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
return g_dbus_register_interface(conn, path, INPUT_INTERFACE,
input_methods, input_signals, NULL, NULL, NULL);
@@ -85,7 +85,7 @@ static int input_probe(const char *path)
static void input_remove(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
g_dbus_unregister_interface(conn, path, INPUT_INTERFACE);
}
diff --git a/network/main.c b/network/main.c
index dd53c1d1..106c2a76 100644
--- a/network/main.c
+++ b/network/main.c
@@ -48,14 +48,14 @@ static DBusConnection *conn;
static int network_probe(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
return 0;
}
static void network_remove(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
}
static struct btd_device_driver network_driver = {
diff --git a/serial/main.c b/serial/main.c
index 3c69642c..ee1cb9f9 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -78,7 +78,7 @@ static DBusConnection *conn;
static int serial_probe(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
return g_dbus_register_interface(conn, path, SERIAL_INTERFACE,
serial_methods, NULL, NULL, NULL, NULL);
@@ -86,7 +86,7 @@ static int serial_probe(const char *path)
static void serial_remove(const char *path)
{
- debug("path %s", path);
+ DBG("path %s", path);
g_dbus_unregister_interface(conn, path, SERIAL_INTERFACE);
}