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:
bernard.xiong@gmail.com 2012-09-20 05:07:14 +00:00
parent 4d4c33680a
commit b07bd9b030
5 changed files with 98 additions and 98 deletions

View File

@ -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",

View File

@ -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",