summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2020-12-28 23:45:32 -0700
committerCommit Bot <commit-bot@chromium.org>2020-12-29 17:57:41 +0000
commit43196a9a0d47b7c44b726da92093c3674f4a6828 (patch)
tree84106a55c2b88b1f5c12b93b21b9adb052aeb3c0
parent96a7fefe36e701638616d69366eb9a5f093caa55 (diff)
downloadchrome-ec-43196a9a0d47b7c44b726da92093c3674f4a6828.tar.gz
zephyr: base32: Fix unit tests
This change fixes unit test breakage caused by zephyr already declaring tolower. BUG=none BRANCH=none TEST=zmake testall Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I11988d972187a2259c29142d2f55483652e0f1a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2605331 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>
-rw-r--r--include/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/util.h b/include/util.h
index 2be43bddfb..ba6b62761e 100644
--- a/include/util.h
+++ b/include/util.h
@@ -104,6 +104,7 @@ int isspace(int c);
int isalpha(int c);
int isupper(int c);
int isprint(int c);
+int tolower(int c);
#endif
int memcmp(const void *s1, const void *s2, size_t len);
@@ -154,8 +155,6 @@ char *strzcpy(char *dest, const char *src, int len);
* Other strings return 0 and leave *dest unchanged.
*/
int parse_bool(const char *s, int *dest);
-
-int tolower(int c);
#endif /* !HIDE_EC_STDLIB */
/**