]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Declare remote_target in remote-fileio.h
authorTom Tromey <tom@tromey.com>
Mon, 21 Jan 2019 21:08:59 +0000 (14:08 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 03:35:21 +0000 (20:35 -0700)
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.

gdb/ChangeLog
gdb/remote-fileio.h

index 63b66b07aac05e1a2927024b24cab4729b134641..44ec0a6c036e771926f9d70d47e484d1fa1c937e 100644 (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.
index f84e2539ef9b48280102ac2304fd376507844485..4b3b2b2bf90b48ed9c4ec392caed7d7e3408153a 100644 (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 ().  */