diff --git a/lib/frame.c b/lib/frame.c index 1a6b2fe..33e45da 100644 --- a/lib/frame.c +++ b/lib/frame.c @@ -2,20 +2,12 @@ #include #include "frame.h" -WINDOW *initialize_shape() { - WINDOW *shape; - - shape = malloc(sizeof(shape)); - - return(shape); -} - struct frame *initialize_frame() { struct frame *frame = NULL; frame = malloc(sizeof(*frame)); - frame->shape = initialize_shape(); + frame->shape = NULL; frame->height = FRAME_HEIGHT; frame->width = FRAME_WIDTH; frame->start_y = 0; diff --git a/lib/frame.h b/lib/frame.h index e4529e8..0a10592 100644 --- a/lib/frame.h +++ b/lib/frame.h @@ -12,7 +12,6 @@ struct frame { int start_x; }; -WINDOW *initialize_shape(); struct frame *initialize_frame(); void delete_frame(struct frame *); void set_frame(struct frame *, int, int);