From b2bd2cbc2a3e4d14fcac66c4989f6a76abf93976 Mon Sep 17 00:00:00 2001 From: Sheldon Demario Date: Wed, 2 Mar 2011 19:36:57 -0300 Subject: [PATCH] Add missing const to interactive() parameter in gatttool --- attrib/gatttool.h | 2 +- attrib/interactive.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attrib/gatttool.h b/attrib/gatttool.h index 2fd4a4606..e652a81b3 100644 --- a/attrib/gatttool.h +++ b/attrib/gatttool.h @@ -21,7 +21,7 @@ * */ -int interactive(gchar *dst, gboolean le); +int interactive(const gchar *dst, gboolean le); GIOChannel *gatt_connect(const gchar *src, const gchar *dst, const gchar *sec_level, int psm, int mtu, BtIOConnect connect_cb); diff --git a/attrib/interactive.c b/attrib/interactive.c index 8429a4722..e39b43c4c 100644 --- a/attrib/interactive.c +++ b/attrib/interactive.c @@ -691,7 +691,7 @@ static gboolean prompt_read(GIOChannel *chan, GIOCondition cond, return TRUE; } -int interactive(gchar *dst, int psm) +int interactive(const gchar *dst, int psm) { GIOChannel *pchan; gint events;