Move ft_putchar to separate file

This commit is contained in:
Timo Schmidt 2023-03-19 02:11:04 +01:00
parent 4c6abff5e6
commit bce833d045
1 changed files with 2 additions and 8 deletions

View File

@ -6,17 +6,11 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/18 22:33:38 by tischmid #+# #+# */
/* Updated: 2023/03/19 00:21:35 by tischmid ### ########.fr */
/* Updated: 2023/03/19 00:59:10 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
#include "include/ft_lib.h"
void ft_putchar(char c)
{
write(1, &c, 1);
}
#include "include/ft_putchar.h"
void ft_putstr(char *str)
{