* dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
* dwarf2loc.c: Include "regcache.h". (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use register_size. * Makefile.in (dwarf2loc.o): Update dependencies.
This commit is contained in:
parent
bba45b8bf7
commit
e4adbba915
4 changed files with 22 additions and 9 deletions
|
@ -35,7 +35,7 @@ static void execute_stack_op (struct dwarf_expr_context *,
|
|||
/* Create a new context for the expression evaluator. */
|
||||
|
||||
struct dwarf_expr_context *
|
||||
new_dwarf_expr_context ()
|
||||
new_dwarf_expr_context (void)
|
||||
{
|
||||
struct dwarf_expr_context *retval;
|
||||
retval = xcalloc (1, sizeof (struct dwarf_expr_context));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue