| 12345678910111213141516171819202122 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_swap.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* 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;
- }
|