diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-02-11 14:13:43 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2019-03-04 12:20:38 +0000 |
commit | 602b7f58dd7668411c8a4032652b4552bd7fe934 (patch) | |
tree | 675e0939d19e306e01703359d7b8661d4f312d32 /tftf/framework | |
parent | 8a573de8dda42258b747e56f19190311ea090d29 (diff) | |
download | tf-a-tests-602b7f58dd7668411c8a4032652b4552bd7fe934.tar.gz |
libc: Update includes
Reflect the changes in the structure of libc.
NB: the include of stdarg.h in nvm_results_helpers.c is not in alphabetical
order because it needs to be included before stdio.h. Fixing this would require
further changes.
Change-Id: I07f62a3450802833408ff3e1f950fd3b643e5e33
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Diffstat (limited to 'tftf/framework')
-rw-r--r-- | tftf/framework/main.c | 2 | ||||
-rw-r--r-- | tftf/framework/nvm_results_helpers.c | 8 | ||||
-rw-r--r-- | tftf/framework/timer/timer_framework.c | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/tftf/framework/main.c b/tftf/framework/main.c index 7f987c059..67f565ddc 100644 --- a/tftf/framework/main.c +++ b/tftf/framework/main.c @@ -17,8 +17,8 @@ #include <power_management.h> #include <psci.h> #include <sgi.h> +#include <stdint.h> #include <string.h> -#include <sys/types.h> #include <tftf.h> #include <tftf_lib.h> #include <timer.h> diff --git a/tftf/framework/nvm_results_helpers.c b/tftf/framework/nvm_results_helpers.c index 34ef19f42..78df642fb 100644 --- a/tftf/framework/nvm_results_helpers.c +++ b/tftf/framework/nvm_results_helpers.c @@ -4,14 +4,18 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/* + * The include of stdarg.h is not in alphabetical order because it needs to be + * included before stdio.h. Fixing this would require further changes. + */ #include <arch_helpers.h> +#include <stdarg.h> #include <assert.h> #include <debug.h> #include <nvm.h> #include <platform.h> #include <spinlock.h> -#include <stdarg.h> -#include <string.h> +#include <stdio.h> /* * Temporary buffer to store 1 test output. diff --git a/tftf/framework/timer/timer_framework.c b/tftf/framework/timer/timer_framework.c index 38106cfc7..d856abe3c 100644 --- a/tftf/framework/timer/timer_framework.c +++ b/tftf/framework/timer/timer_framework.c @@ -17,7 +17,7 @@ #include <sgi.h> #include <spinlock.h> #include <stddef.h> -#include <sys/types.h> +#include <stdint.h> #include <tftf.h> #include <timer.h> |