gatserver: Be more const correct

This commit is contained in:
Denis Kenzior 2011-02-15 22:19:46 -06:00
parent db7a5a8171
commit 6eeaacc706
2 changed files with 2 additions and 2 deletions

View File

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

View File

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