summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kernel/con.h4
-rw-r--r--include/kernel/fs.h2
-rw-r--r--include/kernel/hd.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/include/kernel/con.h b/include/kernel/con.h
index 9dd9dbe..6bc24da 100644
--- a/include/kernel/con.h
+++ b/include/kernel/con.h
@@ -7,6 +7,10 @@
#ifndef _CON_H
#define _CON_H
+#include <kernel/tty.h>
+
+extern struct tty_struct tty_con;
+
void con_init(void);
void con_clear(void);
diff --git a/include/kernel/fs.h b/include/kernel/fs.h
index a2b0086..a752ddf 100644
--- a/include/kernel/fs.h
+++ b/include/kernel/fs.h
@@ -15,7 +15,7 @@
struct file {
uint16_t f_mode;
uint16_t f_flags;
- /* TODO: inode pointer here */
+ struct m_inode *f_inode;
off_t f_pos;
};
diff --git a/include/kernel/hd.h b/include/kernel/hd.h
index 2a2f3c6..7244c92 100644
--- a/include/kernel/hd.h
+++ b/include/kernel/hd.h
@@ -1,7 +1,6 @@
#ifndef _HD_H
#define _HD_H
-#include <stdint.h>
#include <sys/types.h>
void hd_init(void);