From 94862127b46d7d428811c58e14a2531fe4f8cd64 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 01:51:59 -0300 Subject: [PATCH] obexd: Get rid of gchar Use plain char instead of gchar. --- obexd/client/mns.c | 6 +++--- obexd/src/log.c | 2 +- obexd/src/plugin.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/obexd/client/mns.c b/obexd/client/mns.c index 83fa1efd9..8095b9ecc 100644 --- a/obexd/client/mns.c +++ b/obexd/client/mns.c @@ -214,12 +214,12 @@ static struct map_event_report_parser { }; static void event_report_element(GMarkupParseContext *ctxt, - const gchar *element, const gchar **names, - const gchar **values, gpointer user_data, + const char *element, const char **names, + const char **values, gpointer user_data, GError **gerr) { struct map_event *event = user_data; - const gchar *key; + const char *key; int i; if (strcasecmp("event", element) != 0) diff --git a/obexd/src/log.c b/obexd/src/log.c index a96b07b05..ace7ab645 100644 --- a/obexd/src/log.c +++ b/obexd/src/log.c @@ -69,7 +69,7 @@ void obex_debug(const char *format, ...) extern struct obex_debug_desc __start___debug[]; extern struct obex_debug_desc __stop___debug[]; -static gchar **enabled = NULL; +static char **enabled = NULL; static gboolean is_enabled(struct obex_debug_desc *desc) { diff --git a/obexd/src/plugin.c b/obexd/src/plugin.c index c8ec64264..7d971b6c8 100644 --- a/obexd/src/plugin.c +++ b/obexd/src/plugin.c @@ -110,8 +110,8 @@ static gboolean check_plugin(struct obex_plugin_desc *desc, gboolean plugin_init(const char *pattern, const char *exclude) { - gchar **patterns = NULL; - gchar **excludes = NULL; + char **patterns = NULL; + char **excludes = NULL; GDir *dir; const char *file; unsigned int i; -- 2.11.0