aboutsummaryrefslogtreecommitdiff
path: root/src/stat/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/chmod.c')
-rw-r--r--src/stat/chmod.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stat/chmod.c b/src/stat/chmod.c
index d4f53c56..149c9a39 100644
--- a/src/stat/chmod.c
+++ b/src/stat/chmod.c
@@ -10,3 +10,11 @@ int chmod(const char *path, mode_t mode)
return syscall(SYS_fchmodat, AT_FDCWD, path, mode);
#endif
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif