Fix link errors with GCC 10 and binutils 2.34 on Fedora
[pintos-anon] / src / filesys / filesys.h
index c1cda84ecc324fbe70b4e9e3e729ed9ade89c24b..455ac7274a08e15abd0749efe3446842d48f8032 100644 (file)
@@ -9,7 +9,7 @@
 #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);