summaryrefslogtreecommitdiffstats
path: root/lib/librte_bpf/bpf_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_bpf/bpf_load.c')
-rw-r--r--lib/librte_bpf/bpf_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_bpf/bpf_load.c b/lib/librte_bpf/bpf_load.c
index 2b84fe72..d9d163b7 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)
{