t_cmd => t_token (parce que c'est plus logique aussi)

This commit is contained in:
2024-03-27 16:23:09 +01:00
parent 7ea57084dd
commit a9fde3bad1
11 changed files with 55 additions and 54 deletions

View File

@ -6,14 +6,14 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/07 15:30:37 by tomoron #+# #+# */
/* Updated: 2024/03/27 14:55:08 by tomoron ### ########.fr */
/* Updated: 2024/03/27 16:21:14 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
#include <unistd.h>
void put_args(t_cmd *args)
void put_args(t_token *args)
{
int first;
@ -33,7 +33,7 @@ void put_args(t_cmd *args)
}
}
int echo(t_cmd *args)
int echo(t_token *args)
{
int put_nl;
int i;