Updated to remove more usless stuff

This commit is contained in:
Maix0 2024-08-22 16:41:48 +02:00
parent 5b7eb9784b
commit db0903c3a8
31 changed files with 480 additions and 1058 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/19 15:53:50 by maiboyer #+# #+# */
/* Updated: 2024/08/05 15:18:22 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:23:04 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -21,6 +21,10 @@
#include <stdio.h>
#include <sys/stat.h>
#ifdef static
# undef static
#endif
t_fd_array *get_fd_arrays(void)
{
static t_fd_array val = {};

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 16:27:28 by rparodi #+# #+# */
/* Updated: 2024/07/30 16:28:03 by rparodi ### ########.fr */
/* Updated: 2024/08/22 16:23:36 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -21,6 +21,10 @@
#include <stdio.h>
#include <sys/stat.h>
#ifdef static
# undef static
#endif
t_fd *get_stdin(void)
{
t_fd *out;

View file

@ -6,7 +6,7 @@
/* By: maix <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/23 17:38:21 by maix #+# #+# */
/* Updated: 2024/07/10 17:45:42 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:29:28 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,6 +20,10 @@
#include <stdlib.h>
#include <unistd.h>
#ifdef static
#undef static
#endif
static t_static_buffer *get_next_line_buffer(int fd)
{
t_usize index;

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/14 18:26:27 by maiboyer #+# #+# */
/* Updated: 2024/07/10 17:48:46 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:23:44 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,6 +17,10 @@
#include "me/types.h"
#include <stdio.h>
#ifdef static
# undef static
#endif
t_allocator *global_allocator(void)
{
static t_allocator global_alloc = {};

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/16 18:07:40 by maiboyer #+# #+# */
/* Updated: 2024/07/08 19:37:12 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:23:55 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,6 +17,10 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef static
# undef static
#endif
t_matcher_list *get_matchers(void)
{
static t_matcher_list printf_matchers = (t_matcher_list){