aboutsummaryrefslogtreecommitdiff
path: root/sort.c
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 /sort.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 'sort.c')
-rw-r--r--sort.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sort.c b/sort.c
index 9cd446a..f6cb605 100644
--- a/sort.c
+++ b/sort.c
@@ -9,11 +9,13 @@
* Stable: yes.
*/
-#include "lib.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "lib.h"
+#include "allocate.h"
+
#undef PARANOIA
#undef COVERAGE