关于extern-头文件-结构体_note: declare 'static' if the variable is not inte_TaoWei_001的博客-CSDN博客

网站介绍:文章浏览阅读2.6k次,点赞6次,收藏17次。今天在写FreeRTOS的时候,定义结构体变量时,总是提示我一个警告,让我很费解,因此决定研究一下。首先我在list.h中定义如下:struct xLIST_ITEM{ TickType_t xItemValue; struct xLIST_ITEM * pxNext; struct xLIST_ITEM * pxPrevious; void_note: declare 'static' if the variable is not intended to be used outside of