[dpdk-dev] [PATCH 2/3] librte_compat: fix macro deffinition

2015-06-15 Thread Thomas Monjalon
Hi,

More fixes are needed in rte_compat.h

2015-05-29 17:26, Maciej Gajdzica:
> --- a/lib/librte_compat/rte_compat.h
> +++ b/lib/librte_compat/rte_compat.h
> @@ -103,7 +103,7 @@
>  #define VERSION_SYMBOL(b, e, v)

Should be b,e,n

>  #define __vsym
>  #define BASE_SYMBOL(b, n)

Should be b,e

> -#define BIND_DEFAULT_SYMBOL(b, v)
> +#define BIND_DEFAULT_SYMBOL(b, v, n)

Should be b,e,n

This comment needs also to be fixed:
 *  BIND_DEFAULT_SYMBOL(foo, 2.1);



[dpdk-dev] [PATCH 2/3] librte_compat: fix macro deffinition

2015-05-29 Thread Maciej Gajdzica
From: Pawel Wodkowski 

Signed-off-by: Pawel Wodkowski 
---
 lib/librte_compat/rte_compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h
index 3a0fd2d..2a89b36 100644
--- a/lib/librte_compat/rte_compat.h
+++ b/lib/librte_compat/rte_compat.h
@@ -103,7 +103,7 @@
 #define VERSION_SYMBOL(b, e, v)
 #define __vsym
 #define BASE_SYMBOL(b, n)
-#define BIND_DEFAULT_SYMBOL(b, v)
+#define BIND_DEFAULT_SYMBOL(b, v, n)

 /*
  * RTE_BUILD_SHARED_LIB=n
-- 
1.9.1