summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/main.c2
-rw-r--r--input/main.c2
-rw-r--r--network/main.c2
-rw-r--r--plugins/echo.c2
-rw-r--r--plugins/hal.c2
-rw-r--r--plugins/netlink.c2
-rw-r--r--plugins/service.c2
-rw-r--r--plugins/storage.c2
-rw-r--r--serial/main.c2
-rw-r--r--src/plugin.h2
10 files changed, 10 insertions, 10 deletions
diff --git a/audio/main.c b/audio/main.c
index 761392a56..853a033bb 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -176,5 +176,5 @@ static void audio_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("audio", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(audio, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, audio_init, audio_exit)
diff --git a/input/main.c b/input/main.c
index 283420160..913ea7b0a 100644
--- a/input/main.c
+++ b/input/main.c
@@ -82,5 +82,5 @@ static void input_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("input", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(input, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, input_init, input_exit)
diff --git a/network/main.c b/network/main.c
index 7e45ebae4..97838a2b7 100644
--- a/network/main.c
+++ b/network/main.c
@@ -55,5 +55,5 @@ static void network_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("network", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(network, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, network_init, network_exit)
diff --git a/plugins/echo.c b/plugins/echo.c
index 4443ff198..716742e9e 100644
--- a/plugins/echo.c
+++ b/plugins/echo.c
@@ -163,5 +163,5 @@ static void echo_exit(void)
btd_unregister_adapter_driver(&echo_server);
}
-BLUETOOTH_PLUGIN_DEFINE("echo", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(echo, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, echo_init, echo_exit)
diff --git a/plugins/hal.c b/plugins/hal.c
index 683777cd6..65f70598c 100644
--- a/plugins/hal.c
+++ b/plugins/hal.c
@@ -158,5 +158,5 @@ static void hal_exit(void)
btd_unregister_adapter_driver(&hal_driver);
}
-BLUETOOTH_PLUGIN_DEFINE("hal", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(hal, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, hal_init, hal_exit)
diff --git a/plugins/netlink.c b/plugins/netlink.c
index d1e91b213..88ab5e8fd 100644
--- a/plugins/netlink.c
+++ b/plugins/netlink.c
@@ -123,5 +123,5 @@ static void netlink_exit(void)
nl_handle_destroy(handle);
}
-BLUETOOTH_PLUGIN_DEFINE("netlink", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(netlink, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, netlink_init, netlink_exit)
diff --git a/plugins/service.c b/plugins/service.c
index d81abe86f..27264bba9 100644
--- a/plugins/service.c
+++ b/plugins/service.c
@@ -859,5 +859,5 @@ static void service_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("service", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(service, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, service_init, service_exit)
diff --git a/plugins/storage.c b/plugins/storage.c
index 0abc616a2..0649e0655 100644
--- a/plugins/storage.c
+++ b/plugins/storage.c
@@ -39,5 +39,5 @@ static void storage_exit(void)
{
}
-BLUETOOTH_PLUGIN_DEFINE("storage", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(storage, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, storage_init, storage_exit)
diff --git a/serial/main.c b/serial/main.c
index 394927177..71e5aa311 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -55,5 +55,5 @@ static void serial_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("serial", VERSION,
+BLUETOOTH_PLUGIN_DEFINE(serial, VERSION,
BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, serial_init, serial_exit)
diff --git a/src/plugin.h b/src/plugin.h
index dc372243b..d5c5b4963 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -36,5 +36,5 @@ struct bluetooth_plugin_desc {
extern struct bluetooth_plugin_desc bluetooth_plugin_desc \
__attribute__ ((visibility("default"))); \
struct bluetooth_plugin_desc bluetooth_plugin_desc = { \
- name, version, priority, init, exit \
+ #name, version, priority, init, exit \
};