Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tronkko committed Jul 9, 2022
1 parent e862abd commit 328e7fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ wmain(int argc, wchar_t *argv[])
return errorcode;
}
#else
int main(int argc, char *argv[])
int
main(int argc, char *argv[])
{
return _main(argc, argv);
}
Expand Down
12 changes: 8 additions & 4 deletions tests/t-cplusplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ static int only_readme(const struct dirent *entry);
static void test_retrieval(void);
static void test_scan(void);

int main(int argc, char *argv[])
int
main(int argc, char *argv[])
{
(void) argc;
(void) argv;
Expand All @@ -30,7 +31,8 @@ int main(int argc, char *argv[])
}

/* Test basic directory retrieval */
static void test_retrieval(void)
static void
test_retrieval(void)
{
/* Open directory */
DIR *dir = opendir("tests/1");
Expand Down Expand Up @@ -118,7 +120,8 @@ static void test_retrieval(void)
}

/* Text basic scan with simple filter function */
static void test_scan(void)
static void
test_scan(void)
{
struct dirent **files;

Expand All @@ -137,7 +140,8 @@ static void test_scan(void)
}

/* Only pass README.txt file */
static int only_readme(const struct dirent *entry)
static int
only_readme(const struct dirent *entry)
{
int pass;

Expand Down

0 comments on commit 328e7fc

Please sign in to comment.