-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_swap.c
22 lines (19 loc) · 989 Bytes
/
ft_swap.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_swap.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: thifranc <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/04/30 11:03:51 by thifranc #+# #+# */
/* Updated: 2016/04/30 11:04:44 by thifranc ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_swap(void **a, void **b)
{
void **c;
c = *a;
*a = *b;
*b = c;
}