aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-15 22:17:40 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-05-15 22:17:40 -0400
commit8f86ae1a18417e575f510d1aa7b6df2524256464 (patch)
tree79659a9e7aea08630350da28253844bbeed52ddd /gdbserver
parent1c5dd7a572f0733a61fcde3a1bce05542e8c9aa8 (diff)
downloadfsf-binutils-gdb-8f86ae1a18417e575f510d1aa7b6df2524256464.zip
fsf-binutils-gdb-8f86ae1a18417e575f510d1aa7b6df2524256464.tar.gz
fsf-binutils-gdb-8f86ae1a18417e575f510d1aa7b6df2524256464.tar.bz2
gdb: remove unnecessary struct typedef in sparc64-tdep.c
When building with clang 11, I get: CXX sparc64-tdep.o /home/smarchi/src/binutils-gdb/gdb/sparc64-tdep.c:89:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] typedef struct ^ adi_stat_t /home/smarchi/src/binutils-gdb/gdb/sparc64-tdep.c:103:16: note: type is not C-compatible due to this default member initializer int tag_fd = 0; ^ /home/smarchi/src/binutils-gdb/gdb/sparc64-tdep.c:111:3: note: type is given name 'adi_stat_t' for linkage purposes by this typedef declaration } adi_stat_t; ^ The typedef is not needed in C++ anyway, just remove them. gdb/ChangeLog: * sparc64-tdep.c (adi_stat_t): Remove typedef (leaving struct). (sparc64_adi_info): Likewise.
Diffstat (limited to 'gdbserver')
0 files changed, 0 insertions, 0 deletions