projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[pintos-anon]
/
src
/
filesys
/
off_t.h
diff --git
a/src/filesys/off_t.h
b/src/filesys/off_t.h
index 2b97bca6c700cab021b92a4b80f2cb4dd67f141b..55ff174cd0ae5cb52583b847785007b43412ffa2 100644
(file)
--- a/
src/filesys/off_t.h
+++ b/
src/filesys/off_t.h
@@
-1,7
+1,11
@@
-#ifndef
HEADER
_OFF_T_H
-#define
HEADER_OFF_T_H 1
+#ifndef
FILESYS
_OFF_T_H
+#define
FILESYS_OFF_T_H
#include <stdint.h>
#include <stdint.h>
+
+/* An offset within a file.
+ This is a separate header because multiple headers want this
+ definition but not any others. */
typedef int32_t off_t;
typedef int32_t off_t;
-#endif /* off_t.h */
+#endif /*
filesys/
off_t.h */