summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kaiser2024-03-15 13:06:34 +0100
committerDominik Kaiser2024-03-15 13:06:34 +0100
commit673ebefb75d599baf83bb62ace876ab415a2b929 (patch)
tree41d1fa9aa44e6dd3b84d153584a121fb83dfacb3
parent02344fc38e2375102a913685c21acc35141c2cb0 (diff)
downloadft_printf-673ebefb75d599baf83bb62ace876ab415a2b929.tar.gz
ft_printf-673ebefb75d599baf83bb62ace876ab415a2b929.zip
Update includes
-rw-r--r--ft_printf.h5
-rw-r--r--src/ft_printf.c3
2 files changed, 4 insertions, 4 deletions
diff --git a/ft_printf.h b/ft_printf.h
index eb43e44..a3024a8 100644
--- a/ft_printf.h
+++ b/ft_printf.h
@@ -6,15 +6,16 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/12 18:19:47 by dkaiser #+# #+# */
-/* Updated: 2024/03/15 12:40:58 by dkaiser ### ########.fr */
+/* Updated: 2024/03/15 13:04:52 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_PRINTF_H
# define FT_PRINTF_H
-# include "libft/libft.h"
+//# include "libft/libft.h"
# include <stdarg.h>
+# include <unistd.h>
int ft_printf(const char *fmt, ...);
int ft_printnbr(int nbr);
diff --git a/src/ft_printf.c b/src/ft_printf.c
index f85f071..b107513 100644
--- a/src/ft_printf.c
+++ b/src/ft_printf.c
@@ -6,12 +6,11 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/12 18:18:59 by dkaiser #+# #+# */
-/* Updated: 2024/03/15 12:40:47 by dkaiser ### ########.fr */
+/* Updated: 2024/03/15 13:05:57 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
#include "../ft_printf.h"
-#include <stdarg.h>
static int print_char(char c)
{