projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix link errors with GCC 10 and binutils 2.34 on Fedora
[pintos-anon]
/
src
/
filesys
/
filesys.h
diff --git
a/src/filesys/filesys.h
b/src/filesys/filesys.h
index c1cda84ecc324fbe70b4e9e3e729ed9ade89c24b..455ac7274a08e15abd0749efe3446842d48f8032 100644
(file)
--- a/
src/filesys/filesys.h
+++ b/
src/filesys/filesys.h
@@
-9,7
+9,7
@@
#define ROOT_DIR_SECTOR 1 /* Root directory file inode sector. */
/* Block device that contains the file system. */
#define ROOT_DIR_SECTOR 1 /* Root directory file inode sector. */
/* Block device that contains the file system. */
-struct block *fs_device;
+
extern
struct block *fs_device;
void filesys_init (bool format);
void filesys_done (void);
void filesys_init (bool format);
void filesys_done (void);