aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-09-19 13:40:15 +0900
committerChristian Biesinger <cbiesinger@google.com>2019-09-20 09:19:15 +0900
commite4153ae630fcc779ba414fdcea960394cb479e04 (patch)
tree7d1b2ca75deb84efaa0afa721002da550357844f /gdb/eval.c
parentc7ae7675cf726c343a1db3e27e3e5665cb485271 (diff)
downloadgdb-e4153ae630fcc779ba414fdcea960394cb479e04.zip
gdb-e4153ae630fcc779ba414fdcea960394cb479e04.tar.gz
gdb-e4153ae630fcc779ba414fdcea960394cb479e04.tar.bz2
Move declaration of overload_resolution to value.h
The variable is defined in valops.c and has an extern decl in eval.c; move it to the header file. gdb/ChangeLog: 2019-09-19 Christian Biesinger <cbiesinger@google.com> * eval.c: Move declaration of overload_resolution to... * value.h: ...here.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index f8915b9..70ba1f1 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -42,9 +42,6 @@
#include "typeprint.h"
#include <ctype.h>
-/* This is defined in valops.c */
-extern bool overload_resolution;
-
/* Prototypes for local functions. */
static struct value *evaluate_subexp_for_sizeof (struct expression *, int *,