diff options
author | Gary Benson <gbenson@redhat.com> | 2020-11-12 15:05:22 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2020-11-12 15:05:22 +0000 |
commit | 9e74f0aef6a73dba185161558cebace2ed9a54e5 (patch) | |
tree | 54bb8f36f84efb0ee26d1ff90c9c4541ce4fda05 /cpu | |
parent | a3183ad61069e7d6edf46e783bb970d10df125c3 (diff) | |
download | gdb-9e74f0aef6a73dba185161558cebace2ed9a54e5.zip gdb-9e74f0aef6a73dba185161558cebace2ed9a54e5.tar.gz gdb-9e74f0aef6a73dba185161558cebace2ed9a54e5.tar.bz2 |
Fix gdb.threads/tls-so_extern.exp with Clang
Clang fails to compile gdb.threads/tls-so_extern_main.c, giving the
following error:
/gdbtest/src/gdb/testsuite/gdb.threads/tls-so_extern_main.c:28:1:
warning: non-void function does not return a value [-Wreturn-type]
This commit adds a return statement to the offending function.
gdb/testsuite/ChangeLog:
* gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
statement.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions