diff options
author | Tom de Vries <tdevries@suse.de> | 2024-03-29 07:47:30 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-03-29 07:47:30 +0100 |
commit | 2f31f965edc0507ca53c129090652744eb76a472 (patch) | |
tree | bd6b093de87b0ed4cd4db894401c5c8774dcb6f7 /gdb/python/python.c | |
parent | 1678a15b694a0fa6d94514899f228280b92a14de (diff) | |
download | binutils-2f31f965edc0507ca53c129090652744eb76a472.zip binutils-2f31f965edc0507ca53c129090652744eb76a472.tar.gz binutils-2f31f965edc0507ca53c129090652744eb76a472.tar.bz2 |
[gdb/testsuite] Fix missing return type in gdb.linespec/break-asm-file.c
On fedora rawhide, when running test-case gdb.linespec/break-asm-file.exp, I
get:
...
gdb compile failed, break-asm-file.c:21:8: error: \
return type defaults to 'int' [-Wimplicit-int]
21 | static func()
| ^~~~
...
Fix this by adding the missing return type.
Tested on aarch64-linux.
Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions