23 lines
992 B
C
23 lines
992 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* .--. _ */
|
||
|
/* ft_swaplong.c :+: :+: :+: */
|
||
|
/* |:_/ || |_ _ ___ __ */
|
||
|
/* By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / */
|
||
|
/* (| | )|_| |_| |> < */
|
||
|
/* Created: 2022/11/22 15:26:28 by djonker /'\_ _/`\__|\__,_/_/\_\ */
|
||
|
/* Updated: 2023/02/07 00:41:36 by houtworm ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../libft.h"
|
||
|
|
||
|
void ft_swaplong(long *a, long *b)
|
||
|
{
|
||
|
long c;
|
||
|
|
||
|
c = *a;
|
||
|
*a = *b;
|
||
|
*b = c;
|
||
|
}
|