Diff between 94862127b46d7d428811c58e14a2531fe4f8cd64 and 6332085ee60b0c52defb9173212f68f0652b6a95

Changed Files

File Additions Deletions Status
src/log.c +1 -1 modified
src/main.c +3 -3 modified
src/plugin.c +2 -2 modified

Full Patch

diff --git a/src/log.c b/src/log.c
index 75a98a9..ca783f3 100644
--- a/src/log.c
+++ b/src/log.c
@@ -80,7 +80,7 @@ void btd_debug(const char *format, ...)
 extern struct btd_debug_desc __start___debug[];
 extern struct btd_debug_desc __stop___debug[];
 
-static gchar **enabled = NULL;
+static char **enabled = NULL;
 
 static gboolean is_enabled(struct btd_debug_desc *desc)
 {
diff --git a/src/main.c b/src/main.c
index 1e40ebc..dc0478e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -378,9 +378,9 @@ static guint setup_signalfd(void)
 	return source;
 }
 
-static gchar *option_debug = NULL;
-static gchar *option_plugin = NULL;
-static gchar *option_noplugin = NULL;
+static char *option_debug = NULL;
+static char *option_plugin = NULL;
+static char *option_noplugin = NULL;
 static gboolean option_compat = FALSE;
 static gboolean option_detach = TRUE;
 static gboolean option_version = FALSE;
diff --git a/src/plugin.c b/src/plugin.c
index 6938f3b..51c98bc 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -116,7 +116,7 @@ gboolean plugin_init(const char *enable, const char *disable)
 {
 	GSList *list;
 	GDir *dir;
-	const gchar *file;
+	const char *file;
 	char **cli_disabled, **cli_enabled;
 	unsigned int i;
 
@@ -156,7 +156,7 @@ gboolean plugin_init(const char *enable, const char *disable)
 	while ((file = g_dir_read_name(dir)) != NULL) {
 		struct bluetooth_plugin_desc *desc;
 		void *handle;
-		gchar *filename;
+		char *filename;
 
 		if (g_str_has_prefix(file, "lib") == TRUE ||
 				g_str_has_suffix(file, ".so") == FALSE)