summaryrefslogtreecommitdiff
path: root/src/stdio
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-11 20:41:05 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-11 20:41:05 -0400
commit787c3b0fd09ea8456d2391e59e7589f0cf8f5555 (patch)
treecd37698def0dca42b34bc13c6da3d7f5fdfd16c0 /src/stdio
parent0a908b26fa745b4b295e705564af5eaf25e4fbd4 (diff)
move auto-generated nonstd/syscall.h to static private _syscall.h
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/fputc.c2
-rw-r--r--src/stdio/rename.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c
index c392a19c..063d13a7 100644
--- a/src/stdio/fputc.c
+++ b/src/stdio/fputc.c
@@ -5,7 +5,7 @@
#include "sys/types.h"
#include "unistd.h"
#else
-#include "nonstd/syscall.h"
+#include "../_syscall.h"
#define write(_fd, _buf, _size) __syscall(__lookup("write"), _fd, _buf, _size)
#endif
diff --git a/src/stdio/rename.c b/src/stdio/rename.c
index 068cd73d..43500cf3 100644
--- a/src/stdio/rename.c
+++ b/src/stdio/rename.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include "errno.h"
-#include "nonstd/syscall.h"
+#include "../_syscall.h"
/** rename a file **/
int rename(const char *old, const char *new)