aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scope.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 /scope.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 'scope.h')
-rw-r--r--scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index 5f1f2324..0fab2864 100644
--- a/scope.h
+++ b/scope.h
@@ -9,6 +9,8 @@
* Licensed under the Open Software License version 1.1
*/
+struct symbol;
+
struct scope {
struct token *token; /* Scope start information */
struct symbol_list *symbols; /* List of symbols in this scope */