General cleanup - rename a few things, delete dead code.

This commit is contained in:
Stephen Dolan committed 2012-12-03 20:02:02 +00:00
1 parent fadeb66365
commit 5f6a95c7b5
9 files changed
+62 -112

No files matched your search

-2
View File
@@ -15,7 +15,6 @@ struct forkable_stack_header {
struct forkable_stack {
// Stack grows down from stk+length
char* stk;
// stk+length is just past end of allocated area
@@ -61,7 +60,6 @@ static void* forkable_stack_push(struct forkable_stack* s, size_t sz_size) {
forkable_stack_check(s);
int curr = s->pos < s->savedlimit ? s->pos : s->savedlimit;
if (curr - size < 0) {
//assert(0);
int oldlen = s->length;
s->length = (size + oldlen + 1024) * 2;
s->stk = realloc(s->stk, s->length);