Add missing const to interactive() parameter in gatttool

This commit is contained in:
Sheldon Demario 2011-03-02 19:36:57 -03:00 committed by Johan Hedberg
parent ed6e2d24ea
commit b2bd2cbc2a
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;