2001-12-08 02:04:51

by Udo A. Steinberg

[permalink] [raw]
Subject: Compile fixes for 2.5.1-pre7


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");