Compile fixes for 2.5.1-pre7

Udo A. Steinberg (reality@delusion.de)
Sat, 08 Dec 2001 03:04:28 +0100


Hello,

Below a trivial patch which fixes compiler warnings for -pre7.

Regards,
Udo.

diff -urN -X dontdiff linux-vanilla/init/do_mounts.c linux-2.5.1/init/do_mounts.c
--- linux-vanilla/init/do_mounts.c Sat Dec 8 02:58:00 2001
+++ linux-2.5.1/init/do_mounts.c Sat Dec 8 02:46:18 2001
@@ -29,6 +29,9 @@

extern void rd_load(void);
extern void initrd_load(void);
+extern int get_filesystem_list(char *);
+extern void floppy_eject(void);
+extern void wait_for_keypress(void);

#ifdef CONFIG_BLK_DEV_INITRD
unsigned int real_root_dev; /* do_proc_dointvec cannot handle kdev_t */
diff -urN -X dontdiff linux-vanilla/kernel/device.c linux-2.5.1/kernel/device.c
--- linux-vanilla/kernel/device.c Sat Dec 8 02:58:00 2001
+++ linux-2.5.1/kernel/device.c Sat Dec 8 02:56:05 2001
@@ -899,7 +899,6 @@
int __init device_driver_init(void)
{
int error = 0;
- int pid;

DBG("DEV: Initialising Device Tree\n");
-
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/