diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/b_alias.c | 18 | ||||
-rw-r--r-- | src/b_alias.h | 8 |
2 files changed, 12 insertions, 14 deletions
diff --git a/src/b_alias.c b/src/b_alias.c index 5ddc46f..c97a2c9 100644 --- a/src/b_alias.c +++ b/src/b_alias.c @@ -22,8 +22,10 @@ #include "u_alias.h" #include "u_utils.h" -static uint8_t - b_print_arg_next(char *ptr, const char arg[], t_bool invalid, t_msh *msh) +static uint8_t b_print_arg_next(char *ptr, + const char arg[], + t_bool invalid, + t_msh *msh) { char val[ARG_MAX]; @@ -51,8 +53,7 @@ static uint8_t return (0); } -static uint8_t - b_print_arg(const char arg[], t_msh *msh) +static uint8_t b_print_arg(const char arg[], t_msh *msh) { char *ptr; t_bool invalid; @@ -68,8 +69,7 @@ static uint8_t return (b_print_arg_next(ptr, arg, invalid, msh)); } -static void - b_register_arg(const char arg[], t_msh *msh) +static void b_register_arg(const char arg[], t_msh *msh) { char *ptr; char name[255]; @@ -89,8 +89,7 @@ static void } } -uint8_t - b_alias(char *args[], t_msh *msh) +uint8_t b_alias(char *args[], t_msh *msh) { const uint64_t argc = u_builtins_get_argc((const char**)args); int32_t i; @@ -118,8 +117,7 @@ uint8_t return (ret); } -void - b_alias_mute(char *args[], t_msh *msh) +void b_alias_mute(char *args[], t_msh *msh) { const uint64_t argc = u_builtins_get_argc((const char**)args); int32_t i; diff --git a/src/b_alias.h b/src/b_alias.h index 83b1878..ae3dfb8 100644 --- a/src/b_alias.h +++ b/src/b_alias.h @@ -10,12 +10,12 @@ /* */ /* ************************************************************************** */ -#ifndef B_ALIAS_H -#define B_ALIAS_H +#ifndef FT_B_ALIAS_H +# define FT_B_ALIAS_H -#include <stdint.h> +# include <stdint.h> -#include "s_struct.h" +# include "s_struct.h" uint8_t b_alias(char *args[], t_msh *msh); void b_alias_mute(char *args[], t_msh *msh); |