aboutsummaryrefslogtreecommitdiff
path: root/pk/file.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-03-26 15:19:30 -0700
committerAndrew Waterman <andrew@sifive.com>2021-03-26 15:19:30 -0700
commit75bbd1ecfac34ed20f88234872f66d7f670da4d2 (patch)
treee4c0d427d630bbc951cfb4b374641fb509775e90 /pk/file.h
parent168c5cac036cbc92c86f947372441d58ca0d10f2 (diff)
downloadriscv-pk-75bbd1ecfac34ed20f88234872f66d7f670da4d2.zip
riscv-pk-75bbd1ecfac34ed20f88234872f66d7f670da4d2.tar.gz
riscv-pk-75bbd1ecfac34ed20f88234872f66d7f670da4d2.tar.bz2
pk: support printk before file init
Diffstat (limited to 'pk/file.h')
-rw-r--r--pk/file.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/pk/file.h b/pk/file.h
index 2dd7798..7386026 100644
--- a/pk/file.h
+++ b/pk/file.h
@@ -14,9 +14,6 @@ typedef struct file
} file_t;
extern file_t files[];
-#define stdin (files + 0)
-#define stdout (files + 1)
-#define stderr (files + 2)
file_t* file_get(int fd);
file_t* file_open(const char* fn, int flags, int mode);