Message ID | mvmy2q7puqp.fsf@suse.de |
---|---|
State | New |
Headers | show |
Series | aarch64: fix conflicting declarations | expand |
Andreas Schwab <schwab@suse.de> writes: > aarch64_get_extension_string_for_isa_flags is declared in > "aarch64-protos.h", use that instead of re-declaring it improperly. > > * config/aarch64/driver-aarch64.c: Include "aarch64-protos.h". > (aarch64_get_extension_string_for_isa_flags): Don't declare. OK, thanks. Richard
diff --git a/gcc/config/aarch64/driver-aarch64.c b/gcc/config/aarch64/driver-aarch64.c index 0ccd200e330..d1229e67680 100644 --- a/gcc/config/aarch64/driver-aarch64.c +++ b/gcc/config/aarch64/driver-aarch64.c @@ -24,10 +24,7 @@ #include "system.h" #include "coretypes.h" #include "tm.h" - -/* Defined in common/config/aarch64/aarch64-common.c. */ -std::string aarch64_get_extension_string_for_isa_flags (unsigned long, - unsigned long); +#include "aarch64-protos.h" struct aarch64_arch_extension {