rte_basename() was added in 25.11 as a portable replacement for
basename(), whose behaviour differs between the POSIX and GNU versions.
The prototype has not changed.

Signed-off-by: Stephen Hemminger <[email protected]>
---
 lib/eal/include/rte_string_fns.h | 4 ----
 lib/eal/unix/rte_basename.c      | 2 +-
 lib/eal/windows/rte_basename.c   | 2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/eal/include/rte_string_fns.h b/lib/eal/include/rte_string_fns.h
index b3b5bdf275..f7cfbf00b6 100644
--- a/lib/eal/include/rte_string_fns.h
+++ b/lib/eal/include/rte_string_fns.h
@@ -140,9 +140,6 @@ rte_str_skip_leading_spaces(const char *src)
 }
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Provides the final component of a path, similar to POSIX basename function.
  *
  * This API provides the similar behaviour on all platforms, Linux, BSD, 
Windows,
@@ -167,7 +164,6 @@ rte_str_skip_leading_spaces(const char *src)
  *   If the return value is >= buflen, truncation occurred.
  *   Return (size_t)-1 on error (Windows only)
  */
-__rte_experimental
 size_t
 rte_basename(const char *path, char *buf, size_t buflen);
 
diff --git a/lib/eal/unix/rte_basename.c b/lib/eal/unix/rte_basename.c
index a72d6bb3c9..f70c30b0f8 100644
--- a/lib/eal/unix/rte_basename.c
+++ b/lib/eal/unix/rte_basename.c
@@ -10,7 +10,7 @@
 #include <eal_export.h>
 #include <rte_string_fns.h>
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
+RTE_EXPORT_SYMBOL(rte_basename)
 size_t
 rte_basename(const char *path, char *buf, size_t buflen)
 {
diff --git a/lib/eal/windows/rte_basename.c b/lib/eal/windows/rte_basename.c
index ede913e6c1..2c8cc9dc9d 100644
--- a/lib/eal/windows/rte_basename.c
+++ b/lib/eal/windows/rte_basename.c
@@ -7,7 +7,7 @@
 #include <eal_export.h>
 #include <rte_string_fns.h>
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
+RTE_EXPORT_SYMBOL(rte_basename)
 size_t
 rte_basename(const char *path, char *buf, size_t buflen)
 {
-- 
2.53.0

Reply via email to