Update 'cv4/list_ops.c'

This commit is contained in:
Tamáš 2024-03-10 14:17:51 +00:00
parent d1b2c5c570
commit da10364e62

View File

@ -1,6 +1,8 @@
#include "list_ops.h"
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
list_t *new_list(size_t length, list_element_t elements[]) {
list_t *list = malloc(sizeof(list_t) + length * sizeof(list_element_t));