OSDN Git Service

obexd: Get rid of gchar
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 1 May 2013 04:51:59 +0000 (01:51 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 May 2013 06:03:48 +0000 (09:03 +0300)
Use plain char instead of gchar.

obexd/client/mns.c
obexd/src/log.c
obexd/src/plugin.c

index 83fa1ef..8095b9e 100644 (file)
@@ -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)
index a96b07b..ace7ab6 100644 (file)
@@ -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)
 {
index c8ec642..7d971b6 100644 (file)
@@ -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;