text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_lstadd.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: tdragos <marvin@42.fr>                     +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2017/12/08 00:22:05 by tdragos           #+#    #+#             */
  /*   Updated: 2017/12/08 01:01:02 by tdragos          ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	ft_lstadd(t_list **alst, t_list *new)
  {
  	if ((new) == NULL)
  		return ;
  	new->next = *alst;
  	*alst = new;
  }
  