Change the const prefix to right position.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2294 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
4d4c33680a
commit
b07bd9b030
|
@ -376,7 +376,7 @@ static long _list_device(struct rt_list_node *list)
|
||||||
{
|
{
|
||||||
struct rt_device *device;
|
struct rt_device *device;
|
||||||
struct rt_list_node *node;
|
struct rt_list_node *node;
|
||||||
const char *device_type_str[] =
|
char * const device_type_str[] =
|
||||||
{
|
{
|
||||||
"Character Device",
|
"Character Device",
|
||||||
"Block Device",
|
"Block Device",
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
u_char global_errno;
|
u_char global_errno;
|
||||||
|
|
||||||
static const char* finsh_error_string_table[] =
|
static const char * finsh_error_string_table[] =
|
||||||
{
|
{
|
||||||
"No error",
|
"No error",
|
||||||
"Invalid token",
|
"Invalid token",
|
||||||
|
|
Loading…
Reference in New Issue