aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-10-07 14:40:32 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-10-08 10:16:48 -0500
commit79bb1944d63eb04f86cfacc62321c1062c292ac0 (patch)
tree928e36437834fbaa9ff7e67327b7d8a54d939d30 /gdb/valops.c
parent34916edc47a26d591bf95784cd90fe1dcd533ab5 (diff)
downloadgdb-79bb1944d63eb04f86cfacc62321c1062c292ac0.zip
gdb-79bb1944d63eb04f86cfacc62321c1062c292ac0.tar.gz
gdb-79bb1944d63eb04f86cfacc62321c1062c292ac0.tar.bz2
Move declaration of overload_debug to header
gdb/ChangeLog: 2019-10-08 Christian Biesinger <cbiesinger@google.com> * gdbtypes.c (overload_debug): Move comment to header. * gdbtypes.h (overload_debug): Declare. * valops.c: Remove declaration of overload_debug, instead include gdbtypes.h.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index fc7a4c5..4c8efd9 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -39,9 +39,9 @@
#include "observable.h"
#include "objfiles.h"
#include "extension.h"
+#include "gdbtypes.h"
#include "gdbsupport/byte-vector.h"
-extern unsigned int overload_debug;
/* Local functions. */
static int typecmp (int staticp, int varargs, int nargs,