HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43369 )
Change subject: src/include: Remove unused 'include <stdint.h>' ......................................................................
src/include: Remove unused 'include <stdint.h>'
Change-Id: I407474eac9f44f04036af7182714db7fdc4035f1 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/bootstate.h M src/include/fit_payload.h M src/include/list.h M src/include/stdbool.h 4 files changed, 0 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/43369/1
diff --git a/src/include/bootstate.h b/src/include/bootstate.h index 3262b3a..9fac701 100644 --- a/src/include/bootstate.h +++ b/src/include/bootstate.h @@ -4,7 +4,6 @@
#include <string.h> #include <stddef.h> -#include <stdint.h> /* Only declare main() when in ramstage. */ #if ENV_RAMSTAGE #include <main_decl.h> diff --git a/src/include/fit_payload.h b/src/include/fit_payload.h index 8632b05..4ebe3ce 100644 --- a/src/include/fit_payload.h +++ b/src/include/fit_payload.h @@ -4,7 +4,6 @@ #define __FIT_PAYLOAD_H_
#include <program_loading.h> -#include <stdint.h>
void fit_payload(struct prog *payload);
diff --git a/src/include/list.h b/src/include/list.h index a899035..ca8a520 100644 --- a/src/include/list.h +++ b/src/include/list.h @@ -5,7 +5,6 @@ #define __LIST_H__
#include <stddef.h> -#include <stdint.h>
struct list_node { struct list_node *next; diff --git a/src/include/stdbool.h b/src/include/stdbool.h index d7f9e64..3733527 100644 --- a/src/include/stdbool.h +++ b/src/include/stdbool.h @@ -3,9 +3,6 @@ #ifndef __STDBOOL_H__ #define __STDBOOL_H__
-#include <stdint.h> - - typedef _Bool bool; #define true 1 #define false 0
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43369 )
Change subject: src/include: Remove unused 'include <stdint.h>' ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43369/4/src/include/stdbool.h File src/include/stdbool.h:
PS4: No idea if this breaks compliance with standards.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43369 )
Change subject: src/include: Remove unused 'include <stdint.h>' ......................................................................
Patch Set 4: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/43369/4/src/include/stdbool.h File src/include/stdbool.h:
PS4:
No idea if this breaks compliance with standards.
Not that I can see.
Angel Pons has submitted this change. ( https://review.coreboot.org/c/coreboot/+/43369 )
Change subject: src/include: Remove unused 'include <stdint.h>' ......................................................................
src/include: Remove unused 'include <stdint.h>'
Change-Id: I407474eac9f44f04036af7182714db7fdc4035f1 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/43369 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M src/include/bootstate.h M src/include/fit_payload.h M src/include/list.h M src/include/stdbool.h 4 files changed, 0 insertions(+), 6 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/include/bootstate.h b/src/include/bootstate.h index 3262b3a..9fac701 100644 --- a/src/include/bootstate.h +++ b/src/include/bootstate.h @@ -4,7 +4,6 @@
#include <string.h> #include <stddef.h> -#include <stdint.h> /* Only declare main() when in ramstage. */ #if ENV_RAMSTAGE #include <main_decl.h> diff --git a/src/include/fit_payload.h b/src/include/fit_payload.h index 8632b05..4ebe3ce 100644 --- a/src/include/fit_payload.h +++ b/src/include/fit_payload.h @@ -4,7 +4,6 @@ #define __FIT_PAYLOAD_H_
#include <program_loading.h> -#include <stdint.h>
void fit_payload(struct prog *payload);
diff --git a/src/include/list.h b/src/include/list.h index a899035..ca8a520 100644 --- a/src/include/list.h +++ b/src/include/list.h @@ -5,7 +5,6 @@ #define __LIST_H__
#include <stddef.h> -#include <stdint.h>
struct list_node { struct list_node *next; diff --git a/src/include/stdbool.h b/src/include/stdbool.h index d7f9e64..3733527 100644 --- a/src/include/stdbool.h +++ b/src/include/stdbool.h @@ -3,9 +3,6 @@ #ifndef __STDBOOL_H__ #define __STDBOOL_H__
-#include <stdint.h> - - typedef _Bool bool; #define true 1 #define false 0