-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_intswap.c
22 lines (19 loc) · 985 Bytes
/
ft_intswap.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_intswap.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vroussea <vroussea@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/03/18 15:34:56 by vroussea #+# #+# */
/* Updated: 2016/03/18 15:41:47 by vroussea ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_intswap(int *a, int *b)
{
int c;
c = *a;
*a = *b;
*b = c;
}