[PATCH 01/20] eal: add missing export for rte_basename
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 7 23:39:31 CEST 2026
The export for rte_basename was missed on the Windows version.
If it is a public API it needs to be on all OS's supported.
Fixes: b8a75ece45fe ("eal: add basename function for common path manipulation")
Cc: stable at dpdk.org
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eal/windows/rte_basename.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/eal/windows/rte_basename.c b/lib/eal/windows/rte_basename.c
index f4dfc08a0a..ede913e6c1 100644
--- a/lib/eal/windows/rte_basename.c
+++ b/lib/eal/windows/rte_basename.c
@@ -4,8 +4,10 @@
#include <string.h>
#include <stdlib.h>
+#include <eal_export.h>
#include <rte_string_fns.h>
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
size_t
rte_basename(const char *path, char *buf, size_t buflen)
{
--
2.53.0
More information about the dev
mailing list