Loading src/list.c +1 −1 Changes for src/list.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ int list_is_empty(list_t l){ list_t list_push(list_t l, void* x){ // add x to the end of l struct cell_t* c = malloc(sizeof(struct cell_t)); list_t c = malloc(sizeof(*c)); c->val = x; if(l == NULL){ c -> id = 1; Loading Loading
src/list.c +1 −1 Changes for src/list.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ int list_is_empty(list_t l){ list_t list_push(list_t l, void* x){ // add x to the end of l struct cell_t* c = malloc(sizeof(struct cell_t)); list_t c = malloc(sizeof(*c)); c->val = x; if(l == NULL){ c -> id = 1; Loading