diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
commit | f6faf88cd0991be3184af67d5fa271b12f70e925 (patch) | |
tree | 02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/b_sqb_file.c | |
parent | Norming in progress (diff) | |
download | 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip |
Norming
Diffstat (limited to 'src/b_sqb_file.c')
-rw-r--r-- | src/b_sqb_file.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/b_sqb_file.c b/src/b_sqb_file.c index 836aa01..5029d0a 100644 --- a/src/b_sqb_file.c +++ b/src/b_sqb_file.c @@ -18,7 +18,9 @@ #include "d_define.h" -static t_bool b_file_tests(unsigned char id, const char path[], struct stat sb) +static t_bool b_file_tests(unsigned char id, + const char path[], + struct stat sb) { if (id == B_ID_SQB_B && S_ISBLK(sb.st_mode) == 1) return (TRUE); @@ -46,7 +48,7 @@ static t_bool b_file_tests(unsigned char id, const char path[], struct stat sb) return (FALSE); } -unsigned char b_sqb_file_tests(unsigned char id, char *argv[]) +unsigned char b_sqb_file_tests(unsigned char id, char *argv[]) { struct stat sb; @@ -76,7 +78,7 @@ static t_bool b_sqb_file_comp_tests(unsigned char id, return (FALSE); } -unsigned char b_sqb_double_file_tests(unsigned char id, char *argv[]) +unsigned char b_sqb_double_file_tests(unsigned char id, char *argv[]) { struct stat sb[2]; |