X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fabsgraph.h;h=7f8dcc6d8413202d4b7ef71ad4a101ed0a7aace4;hb=929bd10ba046d7482e572d97ec592a4055c65970;hp=12413792dd9e60cac1104136c48f34d0df63e745;hpb=f616f878aa0ea06ad96e9c92a58c75d4fe5b3162;p=libfirm diff --git a/ir/ana/absgraph.h b/ir/ana/absgraph.h index 12413792d..7f8dcc6d8 100644 --- a/ir/ana/absgraph.h +++ b/ir/ana/absgraph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -21,8 +21,7 @@ * @file absgraph.h * @author Sebastian Hack * @date 20.04.2007 - * @version $Id$ - * @summary + * @brief * * An abstract graph "interface". Currently * only used by the DFS facility. @@ -35,12 +34,13 @@ #include "obst.h" -typedef struct _absgraph_t { +typedef struct absgraph_t { void *(*get_root)(void *self); void (*grow_succs)(void *self, void *node, struct obstack *obst); + void *(*get_end)(void *self); } absgraph_t; -const absgraph_t absgraph_irg_cfg_succ; -const absgraph_t absgraph_irg_cfg_pred; +extern const absgraph_t absgraph_irg_cfg_succ; +extern const absgraph_t absgraph_irg_cfg_pred; #endif /* FIRM_ANA_ABSGRAPH_H */