Declare remote_target in remote-fileio.h

remote-fileio.h refers to remote_target, so forward-declare it.

gdb/ChangeLog
2019-01-22  Tom Tromey  <tom@tromey.com>

	* remote-fileio.h (struct remote_target): Declare.
This commit is contained in:
Tom Tromey 2019-01-21 14:08:59 -07:00
parent 3fabc0163a
commit 37b3ab5b54
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-01-22 Tom Tromey <tom@tromey.com>
* remote-fileio.h (struct remote_target): Declare.
2019-01-22 Tom Tromey <tom@tromey.com>
* python/py-arch.c: Do not include py-ref.h.

View File

@ -25,6 +25,7 @@
#include "fileio.h"
struct cmd_list_element;
struct remote_target;
/* Unified interface to remote fileio, called in remote.c from
remote_wait () and remote_async_wait (). */