Skip to content

Commit

Permalink
Fix #2243, CFE_TBL_FILEDEF does not need static
Browse files Browse the repository at this point in the history
Remove the "static" qualification from the TBL file def objects, it is
not needed, and works fine without any special sauce here.
  • Loading branch information
jphickey committed Feb 15, 2023
1 parent 6d96c6e commit c97cd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core_api/fsw/inc/cfe_tbl_filedef.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ utility.
*/

#define CFE_TBL_FILEDEF(ObjName, TblName, Desc, Filename) \
static OS_USED CFE_TBL_FileDef_t CFE_TBL_FileDef = {#ObjName "\0", #TblName "\0", #Desc "\0", #Filename "\0", \
CFE_TBL_FileDef_t CFE_TBL_FileDef = {#ObjName "\0", #TblName "\0", #Desc "\0", #Filename "\0", \
sizeof(ObjName)};

/*************************************************************************/
Expand Down

0 comments on commit c97cd62

Please sign in to comment.