refactor: only the usefull header

- Removing all 'libft.h' mention
- Using the include only on the files needed by
This commit is contained in:
Raphael 2025-09-01 18:45:33 +02:00
parent afb804195a
commit 905ffd4b72
No known key found for this signature in database
48 changed files with 142 additions and 120 deletions

View file

@ -6,11 +6,12 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:43:13 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:54:25 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:39:50 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include "memory.h"
#include <unistd.h>
/**
* @brief Sets a block of memory to zero

View file

@ -6,11 +6,12 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:47:17 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:55:30 by rparodi ### ########.fr */
/* Updated: 2025/09/01 18:28:34 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include "memory.h"
#include <stdlib.h>
/**
* @brief Allocates and zeroes memory for an array

View file

@ -6,11 +6,12 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:48:30 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:59:07 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:40:36 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include "memory.h"
#include <unistd.h>
/**
* @brief Scans memory for a byte

View file

@ -6,11 +6,11 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:49:04 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:59:48 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:40:58 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
/**
* @brief Compares two memory blocks

View file

@ -6,11 +6,11 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:49:46 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:57:31 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:41:32 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
/**
* @brief Copies memory from source to destination

View file

@ -6,11 +6,11 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:51:35 by rparodi #+# #+# */
/* Updated: 2024/10/31 18:15:19 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:41:47 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
char *ft_checks(char *s, char *d, size_t n)
{

View file

@ -6,11 +6,11 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:50:29 by rparodi #+# #+# */
/* Updated: 2024/10/31 17:56:59 by rparodi ### ########.fr */
/* Updated: 2025/09/01 16:42:01 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
/**
* @brief Fills a block of memory with a specified byte