gdbserver: include hostio.h in hostio-errno.c
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 13 Jan 2020 19:03:13 +0000 (14:03 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 13 Jan 2020 19:03:13 +0000 (14:03 -0500)
commit2552728af832542a1760c0ea8e9107635188eba2
treee2fe257b32e77cf460eb7e30cdfcff480b6746af
parent6b3661116e7b01676299710a96f47fe06bafacec
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
gdb/gdbserver/ChangeLog
gdb/gdbserver/hostio-errno.c
This page took 0.029092 seconds and 4 git commands to generate.