Commit d3360565 authored by Lenitra's avatar Lenitra
Browse files

lib

parent 5912712a
Loading
Loading
Loading
Loading
+2 −2
Changes for src/list.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line

#include <stdlib.h>

struct cell_t {
  void* val;
@@ -57,7 +57,7 @@ void* list_pop(list_t* l){

void* list_top(list_t l){
  if(list_is_empty(l)){
    return NULL;
    return null;
  }
  return l->val;
}