summaryrefslogtreecommitdiff
path: root/src/stdio
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
commit489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 (patch)
treef7df0cd2678ebe868356e9a00952555a28a75214 /src/stdio
parent3e282018ffb5806cafafeb5d0d6f8d67c9bb86e8 (diff)
add src/ to -I and exorcise ../ from #include
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/feof.c2
-rw-r--r--src/stdio/ferror.c2
-rw-r--r--src/stdio/fileno.c2
-rw-r--r--src/stdio/getc_unlocked.c2
-rw-r--r--src/stdio/popen.c2
-rw-r--r--src/stdio/putc_unlocked.c2
-rw-r--r--src/stdio/rename.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/stdio/feof.c b/src/stdio/feof.c
index 8b2455bd..80f4ddca 100644
--- a/src/stdio/feof.c
+++ b/src/stdio/feof.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include "_stdio.h"
-#include "../_assert.h"
+#include "_assert.h"
/** test for end-of-file **/
int feof(FILE *stream)
diff --git a/src/stdio/ferror.c b/src/stdio/ferror.c
index d4e014d4..66f76a67 100644
--- a/src/stdio/ferror.c
+++ b/src/stdio/ferror.c
@@ -1,5 +1,5 @@
#include <stdio.h>
-#include "../_assert.h"
+#include "_assert.h"
#include "_stdio.h"
/** tests the file stream error indicator **/
diff --git a/src/stdio/fileno.c b/src/stdio/fileno.c
index 969f572c..19b89fc8 100644
--- a/src/stdio/fileno.c
+++ b/src/stdio/fileno.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include "_stdio.h"
-#include "../_assert.h"
+#include "_assert.h"
int fileno(FILE * stream)
{
diff --git a/src/stdio/getc_unlocked.c b/src/stdio/getc_unlocked.c
index c5186bcc..e78a5853 100644
--- a/src/stdio/getc_unlocked.c
+++ b/src/stdio/getc_unlocked.c
@@ -5,7 +5,7 @@
#include "sys/types.h"
#include "unistd.h"
#else
-#include "../_syscall.h"
+#include "_syscall.h"
#define read(_fd, _buf, _size) __syscall(__syscall_lookup(read), _fd, _buf, _size)
#endif
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index 0e0fc663..0e3ee7dd 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -5,7 +5,7 @@
#include "sys/types.h"
#include "unistd.h"
-#include "../_assert.h"
+#include "_assert.h"
#include "_stdio.h"
#ifdef __STDC_VERSION__
diff --git a/src/stdio/putc_unlocked.c b/src/stdio/putc_unlocked.c
index 99af7b39..8741b3c1 100644
--- a/src/stdio/putc_unlocked.c
+++ b/src/stdio/putc_unlocked.c
@@ -5,7 +5,7 @@
#include "sys/types.h"
#include "unistd.h"
#else
-#include "../_syscall.h"
+#include "_syscall.h"
#define write(_fd, _buf, _size) __syscall(__syscall_lookup(write), _fd, _buf, _size)
#endif
diff --git a/src/stdio/rename.c b/src/stdio/rename.c
index d213707b..589b3690 100644
--- a/src/stdio/rename.c
+++ b/src/stdio/rename.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include "errno.h"
-#include "../_syscall.h"
+#include "_syscall.h"
/** rename a file **/
int rename(const char *old, const char *new)