Build app/test will be failed for function only defined but not used. test_prefetch.c:65: error: ‘testfn_prefetch_cmd’ defined but not used Add attribute used in test function declaration can fix this. static void __attribute__((used)) testfn_##t(void); Fixes: 727909c59231 ("app/test: introduce dynamic commands list") Signed-off-by: Marvin Liu <yong.liu@intel.com>
Description
No description provided
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%