summaryrefslogtreecommitdiff
path: root/lib/stdlib/std.c
diff options
context:
space:
mode:
authorJuan Castillo <juan.castillo@arm.com>2014-11-17 17:27:41 +0000
committerDan Handley <dan.handley@arm.com>2015-01-28 18:26:59 +0000
commite509d05728ac0a625e67d62197ad8bef73db6d88 (patch)
treed62563f6d7411dc5092fa105aa20f171024f598b /lib/stdlib/std.c
parent6eadf7627fe1c2adb10b720210293fceea503b23 (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 'lib/stdlib/std.c')
-rw-r--r--lib/stdlib/std.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/std.c b/lib/stdlib/std.c
index 46087549..5f6ef752 100644
--- a/lib/stdlib/std.c
+++ b/lib/stdlib/std.c
@@ -32,10 +32,12 @@
/* Include the various implemented functions */
#include "abort.c"
#include "assert.c"
+#include "exit.c"
#include "mem.c"
#include "printf.c"
#include "putchar.c"
#include "puts.c"
+#include "sscanf.c"
#include "strchr.c"
#include "strcmp.c"
#include "strlen.c"