diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-05-18 16:59:26 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-05-21 09:17:51 -0700 |
commit | 01e94792e7436e89e55f043982e9446e0759bf25 (patch) | |
tree | 8e8dc705a825391449041b81ec061d767231fb91 /include | |
parent | b1bb8314bd852dea40bc7514486ce4e781e14f88 (diff) | |
download | chrome-ec-01e94792e7436e89e55f043982e9446e0759bf25.tar.gz |
Clean up debug commands to use less space
BUG=none
TEST=(run the commands)
Change-Id: I6ed4aee169311825190bcc386b86cdc32ba0866a
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 6bbb8dd7df..68e4668f03 100644 --- a/include/util.h +++ b/include/util.h @@ -68,6 +68,8 @@ void *memmove(void *dest, const void *src, int len); int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, int size); int strlen(const char *s); + +/* Like strtol(), but for integers. */ int strtoi(const char *nptr, char **endptr, int base); /* Like strncpy(), but guarantees null termination. */ |