summaryrefslogtreecommitdiff
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 /scope.c
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 'scope.c')
-rw-r--r--scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 9e4c524..58dd1ee 100644
--- a/scope.c
+++ b/scope.c
@@ -12,6 +12,7 @@
#include <string.h>
#include "lib.h"
+#include "allocate.h"
#include "symbol.h"
#include "scope.h"