Hi.
Here's a patch that switches the file to use C99 initializers. The patch
is against the current BK.
Art Haas
===== fs/proc/proc_misc.c 1.75 vs edited =====
--- 1.75/fs/proc/proc_misc.c Sun Apr 20 01:22:58 2003
+++ edited/fs/proc/proc_misc.c Wed Apr 23 10:12:19 2003
@@ -339,10 +339,10 @@
return seq_open(file, &diskstats_op);
}
static struct file_operations proc_diskstats_operations = {
- open: diskstats_open,
- read: seq_read,
- llseek: seq_lseek,
- release: seq_release,
+ .open = diskstats_open,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = seq_release,
};
#ifdef CONFIG_MODULES
-- To announce that there must be no criticism of the President, or that we are to stand by the President, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. -- Theodore Roosevelt, Kansas City Star, 1918 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:37 EST