diff options
Diffstat (limited to 'c00/ex04')
| -rw-r--r-- | c00/ex04/ft_is_negative.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/c00/ex04/ft_is_negative.c b/c00/ex04/ft_is_negative.c index 58c1b60..6a5f306 100644 --- a/c00/ex04/ft_is_negative.c +++ b/c00/ex04/ft_is_negative.c @@ -6,14 +6,12 @@ /* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/02 22:43:22 by cacharle #+# #+# */ -/* Updated: 2019/07/02 22:50:01 by cacharle ### ########.fr */ +/* Updated: 2019/07/03 14:27:26 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include <unistd.h> -void ft_is_negative(int n); - void ft_is_negative(int n) { char negative_char; @@ -26,11 +24,3 @@ void ft_is_negative(int n) else write(1, &positive_char, 1); } - -int main(void) -{ - ft_is_negative(-1); - ft_is_negative(1); - ft_is_negative(0); - return (0); -} |
