aboutsummaryrefslogtreecommitdiff
path: root/c12/ex01
diff options
context:
space:
mode:
Diffstat (limited to 'c12/ex01')
-rw-r--r--c12/ex01/ft_list.h6
-rw-r--r--c12/ex01/ft_list_push_front.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/c12/ex01/ft_list.h b/c12/ex01/ft_list.h
index 8b736b4..a7a433c 100644
--- a/c12/ex01/ft_list.h
+++ b/c12/ex01/ft_list.h
@@ -6,12 +6,12 @@
/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/09 14:33:17 by cacharle #+# #+# */
-/* Updated: 2019/07/09 14:42:55 by cacharle ### ########.fr */
+/* Updated: 2019/07/23 15:19:22 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_LIST_H
-#define FT_LIST_H
+# define FT_LIST_H
typedef struct s_list
{
@@ -19,6 +19,6 @@ typedef struct s_list
void *data;
} t_list;
-t_list *ft_create_elem(void *data);
+t_list *ft_create_elem(void *data);
#endif
diff --git a/c12/ex01/ft_list_push_front.c b/c12/ex01/ft_list_push_front.c
index 76fedd9..867b007 100644
--- a/c12/ex01/ft_list_push_front.c
+++ b/c12/ex01/ft_list_push_front.c
@@ -6,11 +6,11 @@
/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/09 17:19:14 by cacharle #+# #+# */
-/* Updated: 2019/07/17 17:10:46 by cacharle ### ########.fr */
+/* Updated: 2019/07/23 15:16:43 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
-
+#include <stdlib.h>
#include "ft_list.h"
void ft_list_push_front(t_list **begin_list, void *data)