[dpdk-dev,1/3] compilation:fix compilation issues of using gcc-4.3.4
Commit Message
Fixed a compilation issue when using gcc-4.3.4 in SUSE Linux 11 SP3.
Signe-off-by: Jijiang Liu <jijiang.liu@intel.com>
---
app/test/test.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -149,7 +149,7 @@ struct test_command {
void add_test_command(struct test_command *t);
#define REGISTER_TEST_COMMAND(t) \
-static void testfn_##t(void);\
+void testfn_##t(void);\
void __attribute__((constructor, used)) testfn_##t(void)\
{\
add_test_command(&t);\