diff options
author | Juan Castillo <juan.castillo@arm.com> | 2014-11-17 17:27:41 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2015-01-28 18:26:59 +0000 |
commit | e509d05728ac0a625e67d62197ad8bef73db6d88 (patch) | |
tree | d62563f6d7411dc5092fa105aa20f171024f598b /include/stdlib/string.h | |
parent | 6eadf7627fe1c2adb10b720210293fceea503b23 (diff) |
stdlib: add missing features to build PolarSSL
This patch adds the missing features to the C library included
in the Trusted Firmware to build PolarSSL:
- strcasecmp() function
- exit() function
- sscanf()* function
- time.h header file (and its dependencies)
* NOTE: the sscanf() function is not a real implementation. It just
returns the number of expected arguments by counting the number of
'%' characters present in the formar string. This return value is
good enough for PolarSSL because during the certificate parsing
only the return value is checked. The certificate validity period
is ignored.
Change-Id: I43bb3742f26f0bd458272fccc3d72a7f2176ab3d
Diffstat (limited to 'include/stdlib/string.h')
-rw-r--r-- | include/stdlib/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdlib/string.h b/include/stdlib/string.h index 00a5dcd9..61e8102c 100644 --- a/include/stdlib/string.h +++ b/include/stdlib/string.h @@ -59,6 +59,7 @@ char *strchr(const char *, int) __pure; int strcmp(const char *, const char *) __pure; size_t strlen(const char *) __pure; int strncmp(const char *, const char *, size_t) __pure; +int strcasecmp(const char *, const char *); __END_DECLS |