aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-02 12:08:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:25 -0700
commit2035e136c41f24b9b991917fd0ead512e4fd3fd8 (patch)
tree9151d61dd60d8f1d8087e9d97b62b89e1484ccfe /expression.h
parentMove declaration of "die()" to lib.h and check its format. (diff)
downloadsparse-2035e136c41f24b9b991917fd0ead512e4fd3fd8.tar.gz
sparse-2035e136c41f24b9b991917fd0ead512e4fd3fd8.tar.bz2
sparse-2035e136c41f24b9b991917fd0ead512e4fd3fd8.zip
Split out the blob allocator from lib.c into allocate.c.
It's disgusting how intimate lib.c is with all the types, and this is slowly trying to split things up a bit. Now the intimate part is in allocate.c, but maybe we can get to the point where each allocation user just declares its own allocation strategy, and just uses the generic routines in allocate.c
Diffstat (limited to 'expression.h')
-rw-r--r--expression.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/expression.h b/expression.h
index c0b1292..6f244fc 100644
--- a/expression.h
+++ b/expression.h
@@ -11,6 +11,8 @@
* Declarations and helper functions for expression parsing.
*/
+#include "allocate.h"
+
struct expression_list;
enum expression_type {