Indentation

This commit is contained in:
Timo Schmidt 2023-03-28 18:55:50 +02:00
parent 05cf4aa285
commit 744ca0f97a
2 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/17 18:25:06 by tischmid #+# #+# */ /* Created: 2023/03/17 18:25:06 by tischmid #+# #+# */
/* Updated: 2023/03/28 16:08:30 by tischmid ### ########.fr */ /* Updated: 2023/03/28 18:55:35 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -14,8 +14,8 @@ int ft_strcmp(char *s1, char *s2)
{ {
while (*s1 && *s2 && *s1 == *s2) while (*s1 && *s2 && *s1 == *s2)
{ {
++s1; ++s1;
++s2; ++s2;
} }
return (*s1 - *s2); return (*s1 - *s2);
} }

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/24 02:01:33 by tischmid #+# #+# */ /* Created: 2023/03/24 02:01:33 by tischmid #+# #+# */
/* Updated: 2023/03/28 18:54:54 by tischmid ### ########.fr */ /* Updated: 2023/03/28 18:55:41 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -16,8 +16,8 @@ int ft_strncmp(char *s1, char *s2, unsigned int n)
return (1); return (1);
while (*s1 && *s2 && *s1 == *s2 && --n) while (*s1 && *s2 && *s1 == *s2 && --n)
{ {
++s1; ++s1;
++s2; ++s2;
} }
return (*s1 - *s2); return (*s1 - *s2);
} }