[PATCH 01/20] eal: add missing export for rte_basename
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 8 11:56:01 CEST 2026
On Wed, Oct 07, 2026 at 02:39:31PM -0700, Stephen Hemminger wrote:
> 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>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> 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