[dpdk-dev] [PATCH 1/3] compilation:fix compilation issues of using gcc-4.3.4
Jijiang Liu
jijiang.liu at intel.com
Fri Jan 23 06:35:38 CET 2015
Fixed a compilation issue when using gcc-4.3.4 in SUSE Linux 11 SP3.
Signe-off-by: Jijiang Liu <jijiang.liu at intel.com>
---
app/test/test.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/app/test/test.h b/app/test/test.h
index 896f7db..8b76ccf 100644
--- a/app/test/test.h
+++ b/app/test/test.h
@@ -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);\
--
1.7.7.6
More information about the dev
mailing list