--- 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 2fd4a46..e652a81 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 8429a47..e39b43c 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; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html