aboutsummaryrefslogtreecommitdiff
path: root/src/fcntl/openat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/openat.c')
-rw-r--r--src/fcntl/openat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fcntl/openat.c b/src/fcntl/openat.c
index 83a9e0d0..630c9c15 100644
--- a/src/fcntl/openat.c
+++ b/src/fcntl/openat.c
@@ -15,3 +15,11 @@ int openat(int fd, const char *filename, int flags, ...)
return syscall_cp(SYS_openat, fd, filename, flags|O_LARGEFILE, mode);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif