| 70 | } |
| 71 | |
| 72 | static void append_pic(struct rt_pic *pic) |
| 73 | { |
| 74 | int pic_name_len = rt_strlen(pic->ops->name); |
| 75 | |
| 76 | rt_list_insert_before(&_pic_nodes, &pic->list); |
| 77 | |
| 78 | if (pic_name_len > _pic_name_max) |
| 79 | { |
| 80 | _pic_name_max = pic_name_len; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void rt_pic_default_name(struct rt_pic *pic) |
| 85 | { |
no test coverage detected