mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
clean: move around some imports
This commit is contained in:
parent
96e46e9130
commit
2ea4afda4a
3 changed files with 5 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/04/01 18:17:56 by khais #+# #+# */
|
/* Created: 2025/04/01 18:17:56 by khais #+# #+# */
|
||||||
/* Updated: 2025/04/15 11:48:05 by khais ### ########.fr */
|
/* Updated: 2025/04/16 16:40:57 by khais ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
#include "libft.h"
|
#include "libft.h"
|
||||||
#include "simple_cmd_execute.h"
|
#include "simple_cmd_execute.h"
|
||||||
#include "unistd.h"
|
#include "unistd.h"
|
||||||
|
#include "../../parser/simple_cmd/simple_cmd.h"
|
||||||
|
|
||||||
static int ft_isspace(char c)
|
static int ft_isspace(char c)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/03/27 16:21:56 by khais #+# #+# */
|
/* Created: 2025/03/27 16:21:56 by khais #+# #+# */
|
||||||
/* Updated: 2025/04/16 14:59:11 by khais ### ########.fr */
|
/* Updated: 2025/04/16 16:40:39 by khais ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
#include "../../postprocess/fieldsplit/fieldsplit.h"
|
#include "../../postprocess/fieldsplit/fieldsplit.h"
|
||||||
#include "../../postprocess/expansion/expand_wildcard.h"
|
#include "../../postprocess/expansion/expand_wildcard.h"
|
||||||
#include "simple_cmd_execute_debug.h"
|
#include "simple_cmd_execute_debug.h"
|
||||||
|
#include "../../parser/simple_cmd/simple_cmd.h"
|
||||||
|
|
||||||
static void command_not_found(t_simple_cmd *cmd, t_minishell *app)
|
static void command_not_found(t_simple_cmd *cmd, t_minishell *app)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,13 @@
|
||||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/04/03 14:35/14 by khais #+# #+# */
|
/* Created: 2025/04/03 14:35/14 by khais #+# #+# */
|
||||||
/* Updated: 2025/04/03 14:35:14 by khais ### ########.fr */
|
/* Updated: 2025/04/16 16:40:11 by khais ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#ifndef SIMPLE_CMD_EXECUTE_H
|
#ifndef SIMPLE_CMD_EXECUTE_H
|
||||||
# define SIMPLE_CMD_EXECUTE_H
|
# define SIMPLE_CMD_EXECUTE_H
|
||||||
|
|
||||||
# include "../../parser/simple_cmd/simple_cmd.h"
|
|
||||||
# include "../../minishell.h"
|
# include "../../minishell.h"
|
||||||
|
|
||||||
void simple_cmd_execute(t_simple_cmd *cmd, t_minishell *app);
|
void simple_cmd_execute(t_simple_cmd *cmd, t_minishell *app);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue