Move interpreter_p declaration to main.h
authorTom Tromey <tromey@adacore.com>
Wed, 1 May 2019 18:28:45 +0000 (12:28 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 8 May 2019 16:38:02 +0000 (10:38 -0600)
commitb0be6c912f9e901a87740c72f18be1e54ad5267d
treeeed5862b07cceb28adaf13108021243a7337a495
parent587ee17bd492a324c927437fb561b99b274e1d8e
Move interpreter_p declaration to main.h

This moves the interpreter_p declaration from defs.h to main.h.  I
think this makes more sense, as it is defined in main.c.  Also, this
declaration was in the wrong place -- between a comment and the things
the comment described.

gdb/ChangeLog
2019-05-08  Tom Tromey  <tromey@adacore.com>

* tui/tui-interp.c: Include main.h.
* interps.c: Include main.h.
* main.h (interpreter_p): Declare.
* defs.h (interpreter_p): Don't declare.
gdb/ChangeLog
gdb/defs.h
gdb/interps.c
gdb/main.h
gdb/tui/tui-interp.c
This page took 0.0259 seconds and 4 git commands to generate.