diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-11-25 19:50:59 -0800 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-27 11:28:34 -0800 |
commit | 31abbee79bf01fbc45cbaad18920d5154f2a545a (patch) | |
tree | cc885ab5180879453bc44c6758b952040df577e5 | |
parent | 4ed6347af323ee0c28f888946eed194d82341aa7 (diff) |
core: Don't call public API waffle_enum_to_string()
Don't call public API from internal functions. That's a recipe for bugs.
Replace call to waffle_enum_to_string() with wcore_enum_to_string().
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | src/waffle/core/wcore_config_attrs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/waffle/core/wcore_config_attrs.c b/src/waffle/core/wcore_config_attrs.c index e682c1f..85b564a 100644 --- a/src/waffle/core/wcore_config_attrs.c +++ b/src/waffle/core/wcore_config_attrs.c @@ -35,6 +35,7 @@ #include "wcore_attrib_list.h" #include "wcore_config_attrs.h" #include "wcore_error.h" +#include "wcore_util.h" enum { DEFAULT_ACCUM_BUFFER = false, @@ -99,7 +100,7 @@ parse_bool(const int32_t attrib_list[], wcore_errorf(WAFFLE_ERROR_BAD_ATTRIBUTE, "%s has bad value 0x%x. " "Must be true(1), false(0), or WAFFLE_DONT_CARE(-1)", - waffle_enum_to_string(attrib_name), raw_value); + wcore_enum_to_string(attrib_name), raw_value); return false; } |