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.
This commit is contained in:
parent
c7ae7675cf
commit
e4153ae630
|
@ -1,3 +1,8 @@
|
||||||
|
2019-09-19 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
|
* eval.c: Move declaration of overload_resolution to...
|
||||||
|
* value.h: ...here.
|
||||||
|
|
||||||
2019-09-19 Christian Biesinger <cbiesinger@google.com>
|
2019-09-19 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
* arm-linux-nat.c: Remove extern declaration for arm_apcs_32.
|
* arm-linux-nat.c: Remove extern declaration for arm_apcs_32.
|
||||||
|
|
|
@ -42,9 +42,6 @@
|
||||||
#include "typeprint.h"
|
#include "typeprint.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* This is defined in valops.c */
|
|
||||||
extern bool overload_resolution;
|
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
|
|
||||||
static struct value *evaluate_subexp_for_sizeof (struct expression *, int *,
|
static struct value *evaluate_subexp_for_sizeof (struct expression *, int *,
|
||||||
|
|
|
@ -81,6 +81,8 @@ struct value_print_options;
|
||||||
value_contents_eq for more info.
|
value_contents_eq for more info.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
extern bool overload_resolution;
|
||||||
|
|
||||||
/* The structure which defines the type of a value. It should never
|
/* The structure which defines the type of a value. It should never
|
||||||
be possible for a program lval value to survive over a call to the
|
be possible for a program lval value to survive over a call to the
|
||||||
inferior (i.e. to be put into the history list or an internal
|
inferior (i.e. to be put into the history list or an internal
|
||||||
|
|
Loading…
Reference in New Issue