aboutsummaryrefslogtreecommitdiff
path: root/libft.h
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@w-r5-p6.s19.be>2019-10-09 09:12:43 +0200
committerCabergs Charles <cacharle@w-r5-p6.s19.be>2019-10-09 09:12:43 +0200
commit840957aee277e7c426647cc133b2a41e7cecd9a9 (patch)
tree96eaae76f3586e9fa141cd94b95e92b7a6db3d09 /libft.h
parentf723389e5143c9ee0bc3d9774bb523b1c752b74c (diff)
downloadlibft-840957aee277e7c426647cc133b2a41e7cecd9a9.tar.gz
libft-840957aee277e7c426647cc133b2a41e7cecd9a9.tar.bz2
libft-840957aee277e7c426647cc133b2a41e7cecd9a9.zip
Normed, Makefile bonus rule
- bonus rule to add the *_bonus files to libft.a - normed memmove, calloc and bonus
Diffstat (limited to 'libft.h')
-rw-r--r--libft.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/libft.h b/libft.h
index 6e1eb07..a7da118 100644
--- a/libft.h
+++ b/libft.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 09:45:02 by cacharle #+# #+# */
-/* Updated: 2019/10/07 14:30:19 by cacharle ### ########.fr */
+/* Updated: 2019/10/09 08:58:46 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,13 +18,7 @@
# define TRUE 1
# define FALSE 0
-typedef unsigned char t_byte;
-
-typedef struct s_list
-{
- void *content;
- struct s_list *next;
-} t_list;
+typedef unsigned char t_byte;
void *ft_memset(void *s, int c, size_t n);
void ft_bzero(void *s, size_t n);
@@ -79,13 +73,5 @@ void ft_putchar_fd(char c, int fd);
void ft_putstr_fd(char *s, int fd);
void ft_putendl_fd(char *s, int fd);
void ft_putnbr_fd(int n, int fd);
-t_list *ft_lstnew(void const *content);
-void ft_lstadd_front(t_list **alst, t_list *new);
-int ft_lstsize(t_list *lst);
-t_list *ft_lstlast(t_list *lst);
-void ft_lstadd_back(t_list **alst, t_list *new);
-void ft_lstdelone(t_list *lst, void (*del)(void *));
-void ft_lstclear(t_list **lst, void (*del)(void *));
-void ft_lstiter(t_list *lst, void (*f)(t_list *));
#endif