diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/device_tree.c | 1 | ||||
-rw-r--r-- | src/lib/fit.c | 2 | ||||
-rw-r--r-- | src/lib/halt.c | 2 | ||||
-rw-r--r-- | src/lib/libgcov.c | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/device_tree.c b/src/lib/device_tree.c index ab9c937b38..a36798619b 100644 --- a/src/lib/device_tree.c +++ b/src/lib/device_tree.c @@ -2,7 +2,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <assert.h> -#include <commonlib/stdlib.h> #include <console/console.h> #include <ctype.h> #include <device_tree.h> diff --git a/src/lib/fit.c b/src/lib/fit.c index 9db083e21d..46ac972128 100644 --- a/src/lib/fit.c +++ b/src/lib/fit.c @@ -12,7 +12,7 @@ #include <memrange.h> #include <fit.h> #include <boardid.h> -#include <commonlib/stdlib.h> +#include <stdlib.h> #include <types.h> static struct list_node image_nodes; diff --git a/src/lib/halt.c b/src/lib/halt.c index 8d9e5c84a6..441f5bb786 100644 --- a/src/lib/halt.c +++ b/src/lib/halt.c @@ -3,7 +3,7 @@ #include <arch/hlt.h> #include <halt.h> -void halt(void) +void __noreturn abort(void) { while (1) hlt(); diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c index b0c816181d..61304ff4e3 100644 --- a/src/lib/libgcov.c +++ b/src/lib/libgcov.c @@ -23,7 +23,6 @@ permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. */ -#define __COREBOOT__ #ifdef __COREBOOT__ #include <stdlib.h> #include <string.h> |