mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 01:15:26 +08:00
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_list_node *node;
|
||||
const char *device_type_str[] =
|
||||
char * const device_type_str[] =
|
||||
{
|
||||
"Character Device",
|
||||
"Block Device",
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
u_char global_errno;
|
||||
|
||||
static const char* finsh_error_string_table[] =
|
||||
static const char * finsh_error_string_table[] =
|
||||
{
|
||||
"No error",
|
||||
"Invalid token",
|
||||
|
Loading…
x
Reference in New Issue
Block a user