From a8040973c35a07ddab5a65a3523e04355ca7b7bb Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 3 Jan 2014 14:01:23 +0100 Subject: [PATCH] ABI: Manual tweaks for strtonum.h Function names are generated by macros, thus hidden to tools/map-symbols. --- tools/libucw.api | 3 +++ ucw/strtonum.h | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/tools/libucw.api b/tools/libucw.api index ef19072f..e85cdad5 100644 --- a/tools/libucw.api +++ b/tools/libucw.api @@ -448,6 +448,9 @@ str_has_prefix str_has_suffix str_hier_prefix str_hier_suffix +# ucw/strtonum.h +str_to_uintmax +str_to_uns # ucw/tbf.h tbf_init tbf_limit diff --git a/ucw/strtonum.h b/ucw/strtonum.h index 865dda7d..35807de1 100644 --- a/ucw/strtonum.h +++ b/ucw/strtonum.h @@ -10,6 +10,11 @@ #ifndef _STRTONUM_H #define _STRTONUM_H +#ifdef CONFIG_UCW_CLEAN_ABI +#define str_to_uintmax ucw_str_to_uintmax +#define str_to_uns ucw_str_to_uns +#endif + // Set (flags & 0x1f) in the range 1 to 31 to denote the default base of the number enum str_to_num_flags { STN_SIGNED = 0x20, // The resulting range is signed -- 2.39.2