From 82130f266ef25c208b71660bb8c827fa872f4b13 Mon Sep 17 00:00:00 2001 From: Lukas Jiriste Date: Fri, 1 Mar 2024 10:08:20 +0100 Subject: [PATCH] Rename checker.h to push_swap.h The push_swap is the major part so it makes sense to have the header bear its name. --- src/actions.c | 4 ++-- src/arg_parsing.c | 4 ++-- src/checker.c | 4 ++-- src/circular_lis.c | 4 ++-- src/find.c | 4 ++-- src/helpers.c | 4 ++-- src/prepare.c | 4 ++-- src/prints.c | 4 ++-- src/push.c | 4 ++-- src/{checker.h => push_swap.h} | 0 src/special_a.c | 4 ++-- src/stack_manipulation.c | 4 ++-- src/stacks_mem.c | 4 ++-- 13 files changed, 24 insertions(+), 24 deletions(-) rename src/{checker.h => push_swap.h} (100%) diff --git a/src/actions.c b/src/actions.c index 19d55ff..01fd70f 100644 --- a/src/actions.c +++ b/src/actions.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/24 11:46:02 by ljiriste #+# #+# */ -/* Updated: 2024/01/24 13:49:25 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:26 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" void action_rotate(t_stacks *s, t_target target) { diff --git a/src/arg_parsing.c b/src/arg_parsing.c index 6d11fae..b281e52 100644 --- a/src/arg_parsing.c +++ b/src/arg_parsing.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/31 09:58:54 by ljiriste #+# #+# */ -/* Updated: 2024/02/06 12:34:29 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:26 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include static int is_int(const char *str) diff --git a/src/checker.c b/src/checker.c index 7e429ef..4eda206 100644 --- a/src/checker.c +++ b/src/checker.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/24 10:31:06 by ljiriste #+# #+# */ -/* Updated: 2024/02/22 14:27:20 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:26 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include diff --git a/src/circular_lis.c b/src/circular_lis.c index aaef1cc..d2fa385 100644 --- a/src/circular_lis.c +++ b/src/circular_lis.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/27 15:18:21 by ljiriste #+# #+# */ -/* Updated: 2024/03/01 09:59:03 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:26 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" static t_arr_stat reconstruct_lis(t_stack *lis, t_stack *stack, diff --git a/src/find.c b/src/find.c index d64cf98..7a0d8b8 100644 --- a/src/find.c +++ b/src/find.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/24 11:37:22 by ljiriste #+# #+# */ -/* Updated: 2024/02/24 14:10:54 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:26 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include #include diff --git a/src/helpers.c b/src/helpers.c index b68558d..218bb47 100644 --- a/src/helpers.c +++ b/src/helpers.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/22 14:22:08 by ljiriste #+# #+# */ -/* Updated: 2024/03/01 09:59:03 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include diff --git a/src/prepare.c b/src/prepare.c index f67b960..f931c63 100644 --- a/src/prepare.c +++ b/src/prepare.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/23 09:35:45 by ljiriste #+# #+# */ -/* Updated: 2024/02/24 11:29:15 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include diff --git a/src/prints.c b/src/prints.c index 7ff4704..7b20d25 100644 --- a/src/prints.c +++ b/src/prints.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/15 14:42:01 by ljiriste #+# #+# */ -/* Updated: 2024/02/23 12:19:26 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" char target_to_char(t_target target, char both) { diff --git a/src/push.c b/src/push.c index ae09a0f..5368e3f 100644 --- a/src/push.c +++ b/src/push.c @@ -6,7 +6,7 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/24 13:17:32 by ljiriste #+# #+# */ -/* Updated: 2024/03/01 09:59:04 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ // One may only use "non-print" stack manipulation in a case where // the stacks return to their state, so as not to skew the output -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include diff --git a/src/checker.h b/src/push_swap.h similarity index 100% rename from src/checker.h rename to src/push_swap.h diff --git a/src/special_a.c b/src/special_a.c index 919a73b..39f3776 100644 --- a/src/special_a.c +++ b/src/special_a.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/03/01 09:45:01 by ljiriste #+# #+# */ -/* Updated: 2024/03/01 09:59:04 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" #include #include diff --git a/src/stack_manipulation.c b/src/stack_manipulation.c index dbc64b1..a1b088b 100644 --- a/src/stack_manipulation.c +++ b/src/stack_manipulation.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/24 11:48:47 by ljiriste #+# #+# */ -/* Updated: 2024/02/29 10:25:56 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" // conversions are meh diff --git a/src/stacks_mem.c b/src/stacks_mem.c index fe68df3..28038f0 100644 --- a/src/stacks_mem.c +++ b/src/stacks_mem.c @@ -6,11 +6,11 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/06 14:20:04 by ljiriste #+# #+# */ -/* Updated: 2024/02/29 11:10:56 by ljiriste ### ########.fr */ +/* Updated: 2024/03/01 10:07:27 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ -#include "checker.h" +#include "push_swap.h" #include "libft.h" void init_stack(t_stack *s) -- 2.30.2