From 6eeaacc706a835f497c5e19977ac5a171265c95a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 15 Feb 2011 22:19:46 -0600 Subject: [PATCH] gatserver: Be more const correct --- gatchat/gatserver.c | 2 +- gatchat/gatserver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c index 4ccea86d..b092a68c 100644 --- a/gatchat/gatserver.c +++ b/gatchat/gatserver.c @@ -1260,7 +1260,7 @@ gboolean g_at_server_set_debug(GAtServer *server, GAtDebugFunc func, return TRUE; } -gboolean g_at_server_register(GAtServer *server, char *prefix, +gboolean g_at_server_register(GAtServer *server, const char *prefix, GAtServerNotifyFunc notify, gpointer user_data, GDestroyNotify destroy_notify) diff --git a/gatchat/gatserver.h b/gatchat/gatserver.h index 5e663b75..a42c8b51 100644 --- a/gatchat/gatserver.h +++ b/gatchat/gatserver.h @@ -87,7 +87,7 @@ gboolean g_at_server_set_debug(GAtServer *server, GAtDebugFunc func, gpointer user_data); -gboolean g_at_server_register(GAtServer *server, char *prefix, +gboolean g_at_server_register(GAtServer *server, const char *prefix, GAtServerNotifyFunc notify, gpointer user_data, GDestroyNotify destroy_notify);