norminette errors

This commit is contained in:
Willem Haffmans 2024-11-24 20:40:12 +00:00
parent d29a2f252d
commit 3b9498e230
4 changed files with 123 additions and 109 deletions

View File

@ -81,6 +81,7 @@ int ft_printf(const char *format, ...);
*/ */
# define OPEN_MAX 1024 # define OPEN_MAX 1024
# define BUFFER_SIZE 256 # define BUFFER_SIZE 256
char *get_next_line(int fd); char *get_next_line(int fd);
#endif #endif

View File

@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: o_ :::::: ::: */
/* ft_strcmp.c :+: / :+::+: :+: */
/* +:+ > +:++:+ +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */
/* +#+ +#+#+ +#++#+ +#+ \o/ */
/* Created: 2024/11/24 20:06:19 by whaffman #+#+# #+#+# #+# #+# | */
/* Updated: 2024/11/24 20:07:08 by whaffman ### ### ### ### / \ */
/* */
/* ************************************************************************** */
#include <stddef.h> #include <stddef.h>
int ft_strcmp(const char *s1, const char *s2) int ft_strcmp(const char *s1, const char *s2)

View File

@ -6,7 +6,7 @@
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */ /* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */
/* +#+ +#+#+ +#++#+ +#+ \o/ */ /* +#+ +#+#+ +#++#+ +#+ \o/ */
/* Created: 2024/11/06 20:07:09 by whaffman #+#+# #+#+# #+# #+# | */ /* Created: 2024/11/06 20:07:09 by whaffman #+#+# #+#+# #+# #+# | */
/* Updated: 2024/11/06 20:10:41 by whaffman ### ### ### ### / \ */ /* Updated: 2024/11/24 20:20:23 by whaffman ### ### ### ### / \ */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -20,6 +20,7 @@ void sa(t_state *state, int silent)
if (!silent) if (!silent)
ft_putstr_fd("sa\n", STDOUT_FILENO); ft_putstr_fd("sa\n", STDOUT_FILENO);
} }
void sb(t_state *state, int silent) void sb(t_state *state, int silent)
{ {
swap(&(state->b)); swap(&(state->b));