aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-10 21:48:14 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-10 21:48:14 +0530
commit15305a850eb96a08c90b5a9d415f0439a96bc4ec (patch)
tree1766263ea9f15c47f28758cbcf9df22d9ec61804
parent564591aa8c2cc455a8fd69a1a2a00786448f2b17 (diff)
copy: typedef struct FTW;
-rw-r--r--include/copy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/copy.h b/include/copy.h
index 81e543a..b334b12 100644
--- a/include/copy.h
+++ b/include/copy.h
@@ -4,9 +4,11 @@
#include <ftw.h>
#include <sys/stat.h>
+typedef struct FTW FTW;
+
int copy_recursively(const char *fpath,
const struct stat *sb,
int typeflag,
- struct FTW *ftwbuf);
+ FTW *ftwbuf);
#endif