diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-12-31 18:46:13 +0100 |
---|---|---|
committer | Martin L Roth <martinroth@google.com> | 2022-04-24 17:43:57 +0000 |
commit | 93a195c80f92d1c7b010953de6cc9836cbbb5a4f (patch) | |
tree | 1b2754be77ee9968bb5b432532da5a9e9e4ab0b0 /src/lib/rmodule.c | |
parent | c31db09a927e8502fa54aabf870e1703ead75959 (diff) |
lib: Remove unused <stdlib.h> and use <types.h> when appropriate
Unused <stdlib.h> found using:
diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l 'memalign(\|malloc(\|calloc(\|free(' -- src/)
Change-Id: I5ad171679cbfa67d522bd1105fb58e0f84b9cb89
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60621
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/rmodule.c')
-rw-r--r-- | src/lib/rmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c index 31bf14190f..bee71d88ee 100644 --- a/src/lib/rmodule.c +++ b/src/lib/rmodule.c @@ -1,13 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ + #include <assert.h> #include <cbmem.h> #include <cbfs.h> -#include <stdint.h> -#include <stdlib.h> #include <string.h> #include <console/console.h> #include <program_loading.h> #include <rmodule.h> +#include <types.h> /* Change this define to get more verbose debugging for module loading. */ #define PK_ADJ_LEVEL BIOS_NEVER |