summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/filesys/filesys.h6
-rw-r--r--src/threads/thread.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/filesys/filesys.h b/src/filesys/filesys.h
index caef83c..77d99b7 100644
--- a/src/filesys/filesys.h
+++ b/src/filesys/filesys.h
@@ -17,4 +17,10 @@ bool filesys_create (const char *name, off_t initial_size);
struct file *filesys_open (const char *name);
bool filesys_remove (const char *name);
+struct fd
+ {
+ bool active;
+ struct file *file;
+ };
+
#endif /* filesys/filesys.h */
diff --git a/src/threads/thread.h b/src/threads/thread.h
index b209036..f0fea1f 100644
--- a/src/threads/thread.h
+++ b/src/threads/thread.h
@@ -80,11 +80,6 @@ typedef int tid_t;
only because they are mutually exclusive: only a thread in the
ready state is on the run queue, whereas only a thread in the
blocked state is on a semaphore wait list. */
-struct fd
- {
- bool active;
- struct file *file;
- };
struct thread
{