summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 16:05:44 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:49:43 +0000
commit365c67ef596ee2ef285ba92bafb1110349b7b21b (patch)
treef12440611965ace2d676424d04fa2114fde7727b
parent3dab213087567eb5051f676c16081a2a38175095 (diff)
downloadchrome-ec-365c67ef596ee2ef285ba92bafb1110349b7b21b.tar.gz
Revert "util: add isupper() library function"
This reverts commit 2a040ce6429b59ea27dd5c3d0ae9e2bf12dc2c90. BUG=b:200823466 TEST=make buildall -j Change-Id: I1500ae932d9d531c6ef81b0d2e0ff7159a6fe959 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273407 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--common/util.c5
-rw-r--r--include/util.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/common/util.c b/common/util.c
index 2b667d16ab..88c93fa314 100644
--- a/common/util.c
+++ b/common/util.c
@@ -242,11 +242,6 @@ __stdlib_compat int isalpha(int c)
return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
}
-__stdlib_compat int isupper(int c)
-{
- return c >= 'A' && c <= 'Z';
-}
-
__stdlib_compat int isprint(int c)
{
return c >= ' ' && c <= '~';
diff --git a/include/util.h b/include/util.h
index 3046784e80..62208f7df0 100644
--- a/include/util.h
+++ b/include/util.h
@@ -68,7 +68,6 @@ int atoi(const char *nptr);
int isdigit(int c);
int isspace(int c);
int isalpha(int c);
-int isupper(int c);
int isprint(int c);
int memcmp(const void *s1, const void *s2, size_t len);
void *memcpy(void *dest, const void *src, size_t len);