From 38b8c7fed1b7a0bdd9667f73a7a8c8b25fbaa563 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Tue, 25 Mar 2003 08:51:50 +0000 Subject: [PATCH] obstack access funcion fixed [r960] --- ir/ir/irgraph.c | 2 +- ir/ir/irgraph_t.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index 773d47b73..c394b6389 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -418,7 +418,7 @@ set_irg_n_loc (ir_graph *irg, int n_loc) /* Returns the obstack associated with the graph. */ -struct obstack get_irg_obstack(ir_graph *irg) { +struct obstack *get_irg_obstack(ir_graph *irg) { return irg->obst; } diff --git a/ir/ir/irgraph_t.h b/ir/ir/irgraph_t.h index 4a311c608..af39b5ae1 100644 --- a/ir/ir/irgraph_t.h +++ b/ir/ir/irgraph_t.h @@ -88,6 +88,6 @@ INLINE void set_irg_pinned (ir_graph *irg, op_pinned p); /** Returns the obstack associated with the graph. */ -struct obstack get_irg_obstack(ir_graph *irg); +struct obstack *get_irg_obstack(ir_graph *irg); # endif /* _IRGRAPH_T_H_ */ -- 2.20.1