]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_bpf/bpf_load.c
net/bnx2x: fix optic module verification
[dpdk.git] / lib / librte_bpf / bpf_load.c
index 2b84fe7244597f9aef7ae1e8ef8a5f61ee13cd77..d9d163b7d85152d630f2f8ae9002d44e5cf399fb 100644 (file)
@@ -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)
 {