Re: [edk2-devel] [Patch 0/3] Remove duplicate type declarations in MdePkg and CryptoPkg

2021-03-30 Thread Michael D Kinney
Liming, GCC can detect redefinition of same type. typedef int foo; typedef int foo; int main (int argc, char *argv[]) { return 0; } gcc a.c -Wpedantic -std=c99 a.c:2:13: warning: redefinition of typedef ‘foo’ [-Wpedantic] typedef int foo;

[edk2-devel] [Patch 0/3] Remove duplicate type declarations in MdePkg and CryptoPkg

2021-03-30 Thread Michael D Kinney
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3287 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3286 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3285 Remove duplicate declarations of the following types that may generate compiler warnings or errors: * EFI_HII_POPUP_PROTOCOL *