Fixes some gcc 4.0.0 brain damage (really, gcc 4.0.0 is a pile of
shit).

2005-05-26  Alfred M. Szmidt  <[EMAIL PROTECTED]>

        * device/cons.h (cn_tab) [KERNEL]: Removed extern declaration.

        * linux/dev/include/linux/fs.h (super_blocks): Declare as an
        pointer.

--- device/cons.h
+++ device/cons.h
@@ -46,5 +46,4 @@
 
 #ifdef KERNEL
 extern struct consdev constab[];
-extern struct consdev *cn_tab;
 #endif
--- linux/dev/include/linux/fs.h
+++ linux/dev/include/linux/fs.h
@@ -621,7 +621,7 @@
 extern int fs_may_remount_ro(kdev_t dev);
 
 extern struct file *first_file;
-extern struct super_block super_blocks[NR_SUPER];
+extern struct super_block *super_blocks;
 
 extern void refile_buffer(struct buffer_head * buf);
 extern void set_writetime(struct buffer_head * buf, int flag);


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to