Fix up header guards.
[pintos-anon] / src / filesys / file.h
index b29ce33a5a488bb15c513a25f998a8e323535988..ea716aae032ffb78353c37c7dfc67f4ca620b1ee 100644 (file)
@@ -1,11 +1,11 @@
-#ifndef HEADER_FILE_H
-#define HEADER_FILE_H 1
+#ifndef FILESYS_FILE_H
+#define FILESYS_FILE_H
 
 #include <stdbool.h>
 #include <stdint.h>
 #include <stddef.h>
-#include "disk.h"
-#include "off_t.h"
+#include "devices/disk.h"
+#include "filesys/off_t.h"
 
 struct file 
   {
@@ -14,7 +14,7 @@ struct file
     off_t pos;
   };
 
-bool file_open (struct file *, disk_sector_no);
+bool file_open (struct file *, disk_sector_t);
 void file_close (struct file *);
 off_t file_read (struct file *, void *, off_t);
 off_t file_read_at (struct file *, void *, off_t size, off_t start);
@@ -24,4 +24,4 @@ off_t file_length (struct file *);
 void file_seek (struct file *, off_t);
 off_t file_tell (struct file *);
 
-#endif /* file.h */
+#endif /* filesys/file.h */