aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/rename.c')
-rw-r--r--src/stdio/rename.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/rename.c b/src/stdio/rename.c
index f540adb6..40ad9c49 100644
--- a/src/stdio/rename.c
+++ b/src/stdio/rename.c
@@ -12,3 +12,11 @@ int rename(const char *old, const char *new)
return syscall(SYS_renameat2, AT_FDCWD, old, AT_FDCWD, new, 0);
#endif
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif