[dpdk-dev] [PATCH 10/10] bpf: update code to use __rte_weak macro
Keith Wiles
keith.wiles at intel.com
Fri Aug 3 16:06:05 CEST 2018
Signed-off-by: Keith Wiles <keith.wiles at intel.com>
---
lib/librte_bpf/bpf_load.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_bpf/bpf_load.c b/lib/librte_bpf/bpf_load.c
index 2b84fe724..d9d163b7d 100644
--- a/lib/librte_bpf/bpf_load.c
+++ b/lib/librte_bpf/bpf_load.c
@@ -131,7 +131,7 @@ rte_bpf_load(const struct rte_bpf_prm *prm)
return bpf;
}
-__rte_experimental __attribute__ ((weak)) struct rte_bpf *
+__rte_experimental __rte_weak struct rte_bpf *
rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
const char *sname)
{
--
2.17.1
More information about the dev
mailing list