aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/flow.h
diff options
authorKamil Dudka <kdudka@redhat.com>2009-08-11 12:59:23 +0000
committerChristopher Li <sparse@chrisli.org>2009-08-11 20:57:20 +0000
commit03430d088f64a3b1d4b5bbbc86da3c352010702e (patch)
tree77fca4e07371e50445b5a4db4abeed3465863c85 /flow.h
parentc8e20ba6dfab0d84ceb57e8b942c6769f72b507a (diff)
downloadsparse-dev-03430d088f64a3b1d4b5bbbc86da3c352010702e.tar.gz
make sparse headers self-compilable...
... and thus possible to include them in arbitrary order and without any external dependencies. Signed-off-by: Kamil Dudka <kdudka@redhat.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'flow.h')
-rw-r--r--flow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/flow.h b/flow.h
index fbc9505f..370aaddf 100644
--- a/flow.h
+++ b/flow.h
@@ -1,11 +1,16 @@
#ifndef FLOW_H
#define FLOW_H
+#include "lib.h"
+
extern unsigned long bb_generation;
#define REPEAT_CSE 1
#define REPEAT_SYMBOL_CLEANUP 2
+struct entrypoint;
+struct instruction;
+
extern int simplify_flow(struct entrypoint *ep);
extern void simplify_symbol_usage(struct entrypoint *ep);