/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_swap.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/21 23:17:01 by bchanot #+# #+# */ /* Updated: 2016/11/21 23:18:53 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_swap(int *a, int *b) { int tmp; tmp = *a; *a = *b; *a = tmp; }