summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/b_sqb_file.c20
-rw-r--r--src/b_sqb_file.h6
2 files changed, 9 insertions, 17 deletions
diff --git a/src/b_sqb_file.c b/src/b_sqb_file.c
index c3a568d..adc4848 100644
--- a/src/b_sqb_file.c
+++ b/src/b_sqb_file.c
@@ -18,10 +18,7 @@
#include "d_define.h"
-static t_bool
- b_file_tests(uint8_t id,
- const char path[],
- struct stat sb)
+static t_bool b_file_tests(uint8_t id, const char path[], struct stat sb)
{
if (id == FT_ID_SQB_B && S_ISBLK(sb.st_mode) == 1)
return (TRUE);
@@ -49,9 +46,7 @@ static t_bool
return (FALSE);
}
-uint8_t
- b_sqb_file_tests(uint8_t id,
- char *argv[])
+uint8_t b_sqb_file_tests(uint8_t id, char *argv[])
{
struct stat sb;
@@ -68,10 +63,9 @@ uint8_t
return (1);
}
-static t_bool
- b_sqb_file_comp_tests(uint8_t id,
- struct stat sb1,
- struct stat sb2)
+static t_bool b_sqb_file_comp_tests(uint8_t id,
+ struct stat sb1,
+ struct stat sb2)
{
if (id == FT_ID_SQB_NT &&
sb1.st_mtim.tv_sec > sb2.st_mtim.tv_sec)
@@ -82,9 +76,7 @@ static t_bool
return (FALSE);
}
-uint8_t
- b_sqb_double_file_tests(uint8_t id,
- char *argv[])
+uint8_t b_sqb_double_file_tests(uint8_t id, char *argv[])
{
struct stat sb[2];
diff --git a/src/b_sqb_file.h b/src/b_sqb_file.h
index 4d9b410..e47413f 100644
--- a/src/b_sqb_file.h
+++ b/src/b_sqb_file.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef B_SQB_FILE_H
-#define B_SQB_FILE_H
+#ifndef FT_B_SQB_FILE_H
+# define FT_B_SQB_FILE_H
-#include <stdint.h>
+# include <stdint.h>
uint8_t b_sqb_file_tests(uint8_t id, char *argv[]);
uint8_t b_sqb_double_file_tests(uint8_t id, char *argv[]);