numam-dpdk/app
Marvin Liu d788ccb130 app/test: fix build constructor with gcc < 4.4
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: 727909c592 ("app/test: introduce dynamic commands list")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
2015-03-23 00:31:20 +01:00
..
cmdline_test app: no more bare metal environment 2014-11-27 13:09:55 +01:00
dump_cfg app: no more bare metal environment 2014-11-27 13:09:55 +01:00
test app/test: fix build constructor with gcc < 4.4 2015-03-23 00:31:20 +01:00
test-acl acl: remove standalone header 2015-02-02 12:30:33 +01:00
test-pipeline tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
test-pmd app/testpmd: fix reconfig flag for all ports 2015-03-21 00:21:56 +01:00
Makefile