finish to link all the files

This commit is contained in:
Maoake Teriierooiterai
2026-01-07 10:06:38 +01:00
parent ca732b1b97
commit 95577e5f02
15 changed files with 158 additions and 319 deletions

View File

@@ -11,9 +11,10 @@
/* ************************************************************************** */
#include "push_swap.h"
#include "parsing.h"
#include <stdlib.h>
t_stack *parsing(int argc, char **argv)
static t_stack *parsing(int argc, char **argv)
{
int i;
int stock;

View File

@@ -12,22 +12,8 @@
#include "push_swap.h"
#include <stdlib.h>
#include <stdio.h>
void print_tabs(t_tab *preset)
{
t_tab *tab;
tab = preset;
while (tab)
{
printf("MAX RANGE : [%d]\n", tab->max_range);
printf("NUMBER IN : [%d]\n", tab->nb_in);
tab = tab->next;
}
}
t_stack *parsing2(int *tab, int len)
static t_stack *parsing2(int *tab, int len)
{
int i;
int stock;