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
1 parent 6eadf76 commit e509d05728ac0a625e67d62197ad8bef73db6d88
@Juan Castillo Juan Castillo authored on 17 Nov 2014
Dan Handley committed on 28 Jan 2015
Showing 16 changed files
View
include/stdlib/inttypes.h 0 → 100644
View
include/stdlib/machine/_inttypes.h 0 → 100644
View
include/stdlib/stdio.h
View
include/stdlib/stdlib.h 0 → 100644
View
include/stdlib/string.h
View
include/stdlib/strings.h 0 → 100644
View
include/stdlib/sys/_timespec.h 0 → 100644
View
include/stdlib/sys/timespec.h 0 → 100644
View
include/stdlib/sys/types.h 0 → 100644
View
include/stdlib/time.h 0 → 100644
View
include/stdlib/xlocale/_strings.h 0 → 100644
View
include/stdlib/xlocale/_time.h 0 → 100644
View
lib/stdlib/exit.c 0 → 100644
View
lib/stdlib/sscanf.c 0 → 100644
View
lib/stdlib/std.c
View
lib/stdlib/strcmp.c