提交 eb2cc84a 编写于 作者: B bernard.xiong

change ops to const data.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@545 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 e8cc40b3
......@@ -553,7 +553,7 @@ void OP_call()
return ;
}
op_func op_table[] =
const op_func op_table[] =
{
/* 00 */ OP_no_op,
/* 01 */ OP_add_byte,
......
......@@ -115,6 +115,6 @@
#define FINSH_OP_HALT 0xFF
typedef void (*op_func)();
extern op_func op_table[];
extern const op_func op_table[];
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册