summaryrefslogtreecommitdiff
path: root/attrib/gatttool.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2013-05-01 01:51:56 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-02 09:02:25 +0300
commiteee0adcf7b99767de1413877d330e1d47f7d2d9a (patch)
tree863e8f257d167c95984694ed121855fdcb650c5f /attrib/gatttool.c
parent4a204517823f4afa0490832e0b49432a1b16feae (diff)
downloadbluez-eee0adcf7b99767de1413877d330e1d47f7d2d9a.tar.gz
attrib: Get rid of gchar
Use plain char instead of gchar.
Diffstat (limited to 'attrib/gatttool.c')
-rw-r--r--attrib/gatttool.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/attrib/gatttool.c b/attrib/gatttool.c
index dd0f1e270..2c11562c6 100644
--- a/attrib/gatttool.c
+++ b/attrib/gatttool.c
@@ -42,11 +42,11 @@
#include "gatt.h"
#include "gatttool.h"
-static gchar *opt_src = NULL;
-static gchar *opt_dst = NULL;
-static gchar *opt_dst_type = NULL;
-static gchar *opt_value = NULL;
-static gchar *opt_sec_level = NULL;
+static char *opt_src = NULL;
+static char *opt_dst = NULL;
+static char *opt_dst_type = NULL;
+static char *opt_value = NULL;
+static char *opt_sec_level = NULL;
static bt_uuid_t *opt_uuid = NULL;
static int opt_start = 0x0001;
static int opt_end = 0xffff;
@@ -596,7 +596,7 @@ int main(int argc, char *argv[])
else if (opt_char_desc)
operation = characteristics_desc;
else {
- gchar *help = g_option_context_get_help(context, TRUE, NULL);
+ char *help = g_option_context_get_help(context, TRUE, NULL);
g_print("%s\n", help);
g_free(help);
got_error = TRUE;