diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-01-13 14:03:13 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-01-13 14:03:13 -0500 |
commit | 2552728af832542a1760c0ea8e9107635188eba2 (patch) | |
tree | e2fe257b32e77cf460eb7e30cdfcff480b6746af /gdb/m32r-linux-nat.c | |
parent | 6b3661116e7b01676299710a96f47fe06bafacec (diff) | |
download | gdb-2552728af832542a1760c0ea8e9107635188eba2.zip gdb-2552728af832542a1760c0ea8e9107635188eba2.tar.gz gdb-2552728af832542a1760c0ea8e9107635188eba2.tar.bz2 |
gdbserver: include hostio.h in hostio-errno.c
... so that the definition of hostio_last_error_from_errno in hostio-errno.c
sees the declaration in hostio.h.
Fix this error:
CXX hostio-errno.o
/home/smarchi/src/binutils-gdb/gdb/gdbserver/hostio-errno.c: In function ‘void hostio_last_error_from_errno(char*)’:
/home/smarchi/src/binutils-gdb/gdb/gdbserver/hostio-errno.c:28:1: error: no previous declaration for ‘void hostio_last_error_from_errno(char*)’ [-Werror=missing-declarations]
hostio_last_error_from_errno (char *buf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdb/gdbserver/ChangeLog:
* hostio-errno.c: Include hostio.h.
Change-Id: I056308fd4ce12810d0a1b826c423bd0c7eeb8944
Diffstat (limited to 'gdb/m32r-linux-nat.c')
0 files changed, 0 insertions, 0 deletions