Merge branch 'en/dir-traversal'
Fix-up to a topic that is already in 'master'.
* en/dir-traversal:
dir: introduce readdir_skip_dot_and_dotdot() helper
dir: update stale description of treat_directory()
Revert "dir: update stale description of treat_directory()"
Revert "dir: introduce readdir_skip_dot_and_dotdot() helper"
diff --git a/dir.c b/dir.c
index b0876cd..ebe5ec0 100644
--- a/dir.c
+++ b/dir.c
@@ -59,8 +59,7 @@
memset(dir, 0, sizeof(*dir));
}
-struct dirent *
-readdir_skip_dot_and_dotdot(DIR *dirp)
+struct dirent *readdir_skip_dot_and_dotdot(DIR *dirp)
{
struct dirent *e;