aboutsummaryrefslogtreecommitdiff
path: root/src/lst/ft_lstadd_front.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-03-30 22:26:36 +0200
committerCharles <sircharlesaze@gmail.com>2020-03-30 22:26:36 +0200
commit901402c99018422c994bdb297e3ba404969c88ea (patch)
tree98602c73a00af57fb7efcb36e4e3cbae2c0ce3a8 /src/lst/ft_lstadd_front.c
parent40ed37c023627726a5c9c6928284e9f042dc0fa4 (diff)
downloadlibft-901402c99018422c994bdb297e3ba404969c88ea.tar.gz
libft-901402c99018422c994bdb297e3ba404969c88ea.tar.bz2
libft-901402c99018422c994bdb297e3ba404969c88ea.zip
Added documentation for ht and lst
Diffstat (limited to 'src/lst/ft_lstadd_front.c')
-rw-r--r--src/lst/ft_lstadd_front.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lst/ft_lstadd_front.c b/src/lst/ft_lstadd_front.c
deleted file mode 100644
index bcd5ad9..0000000
--- a/src/lst/ft_lstadd_front.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* ************************************************************************** */
-/* */
-/* ::: :::::::: */
-/* ft_lstadd_front_bonus.c :+: :+: :+: */
-/* +:+ +:+ +:+ */
-/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
-/* +#+#+#+#+#+ +#+ */
-/* Created: 2019/10/09 09:02:25 by cacharle #+# #+# */
-/* Updated: 2019/10/18 12:16:06 by cacharle ### ########.fr */
-/* */
-/* ************************************************************************** */
-
-#include "libft.h"
-#include "libft_lst.h"
-
-void ft_lstadd_front(t_ftlst **alst, t_ftlst *new)
-{
- if (alst == NULL || new == NULL)
- return ;
- new->next = *alst;
- *alst = new;
-}