From 2f0cb527ea398e0ee8debe86231fd20a0e12d30f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 7 May 2010 12:55:13 +0800 Subject: add const modifier. --- lua/lua-ext-console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lua-ext-console.c') diff --git a/lua/lua-ext-console.c b/lua/lua-ext-console.c index 9490cc9..352f2af 100644 --- a/lua/lua-ext-console.c +++ b/lua/lua-ext-console.c @@ -54,7 +54,7 @@ int print_lua_call_result(IBusEnginePlugin * plugin, size_t num){ } int do_lua_call(IBusEnginePlugin * plugin, const char * command_name, const char * argument){ - lua_command_t * command; + const lua_command_t * command; size_t num; g_return_if_fail(2 == strlen(command_name)); -- cgit