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