diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-02-15 22:19:46 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-16 00:23:44 -0600 |
commit | 6eeaacc706a835f497c5e19977ac5a171265c95a (patch) | |
tree | d30d2df61b0ed63cdde48e9f1d43507636cb78fe | |
parent | db7a5a8171d05489459dfe6c7ea4ec0cac57e677 (diff) | |
download | ofono-6eeaacc706a835f497c5e19977ac5a171265c95a.tar.bz2 |
gatserver: Be more const correct
-rw-r--r-- | gatchat/gatserver.c | 2 | ||||
-rw-r--r-- | 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); |