summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.h
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2006-09-15 11:25:02 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2006-09-15 11:25:02 +0200
commit5ca251bf58626b40f29479b6133cd7e5a65c10ba (patch)
tree825b7dbfe1b8ca111c57a4a9275eb297375c469b /ir/be/bera.h
parent3f0ee9d6099d0ded19ef63f8fa5094bc32ae02ac (diff)
Fixed be_ra_t structure if libcore is deactivated
Diffstat (limited to 'ir/be/bera.h')
-rw-r--r--ir/be/bera.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ir/be/bera.h b/ir/be/bera.h
index a5cacf2..0bcfb2b 100644
--- a/ir/be/bera.h
+++ b/ir/be/bera.h
@@ -35,16 +35,13 @@ typedef struct {
lc_timer_t *t_other; /**< timer for remaining stuff */
} be_ra_timer_t;
#else
-typedef void be_ra_timer_t;
+typedef void *be_ra_timer_t;
+typedef void *lc_opt_entry_t;
#endif /* WITH_LIBCORE */
typedef struct {
-#ifdef WITH_LIBCORE
void (*register_options)(lc_opt_entry_t *grp);
be_ra_timer_t *(*allocate)(const be_irg_t *bi);
-#else
- int dummy;
-#endif /* WITH_LIBCORE */
} be_ra_t;