[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnumach and gcc 4.0 (patch 0)
From: |
Alfred M. Szmidt |
Subject: |
gnumach and gcc 4.0 (patch 0) |
Date: |
Sun, 29 May 2005 19:32:47 -0400 |
Fixes some gcc 4.0.0 brain damage (really, gcc 4.0.0 is a pile of
shit).
2005-05-26 Alfred M. Szmidt <ams@gnu.org>
* 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);
- gnumach and gcc 4.0 (patch 0),
Alfred M. Szmidt <=