aboutsummaryrefslogtreecommitdiff
path: root/c00/ex04
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-03 16:37:50 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-03 16:37:50 +0200
commit57ae398fc76f5dc53a1a62ceda1b72445273da86 (patch)
tree38c30d4c5cc60e20b2752cff3b2927af9a16f51a /c00/ex04
parent7a6ae8c6fa665f0c67fe7b4296778026f08764ce (diff)
downloadpiscine-57ae398fc76f5dc53a1a62ceda1b72445273da86.tar.gz
piscine-57ae398fc76f5dc53a1a62ceda1b72445273da86.tar.bz2
piscine-57ae398fc76f5dc53a1a62ceda1b72445273da86.zip
c00
Diffstat (limited to 'c00/ex04')
-rw-r--r--c00/ex04/ft_is_negative.c12
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);
-}