summaryrefslogtreecommitdiff
path: root/userland/libc/stdio/rename.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-23 00:52:35 +0100
committerAnton Kling <anton@kling.gg>2023-11-23 00:52:35 +0100
commit81819f711e6d1f9216f688da8ecbbc682d106d9c (patch)
tree0f0df7c43cc5bc956c2c067e55766bfa90823a7f /userland/libc/stdio/rename.c
parentec91e81a4fcfd7ee6bc4150f06d8740e82f808da (diff)
LibC: Reduce warnings in code
Diffstat (limited to 'userland/libc/stdio/rename.c')
-rw-r--r--userland/libc/stdio/rename.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/userland/libc/stdio/rename.c b/userland/libc/stdio/rename.c
index 15d4bf5..a02cacb 100644
--- a/userland/libc/stdio/rename.c
+++ b/userland/libc/stdio/rename.c
@@ -1,8 +1,9 @@
-#include <stdio.h>
#include <assert.h>
+#include <stdio.h>
int rename(const char *old, const char *new) {
- (void)old;
- (void)new;
+ (void)old;
+ (void)new;
assert(0); // TODO: Implement
- }
+ return 0;
+}