Skip to contentSkip to conversation

Compile fixes for 2.5.1-pre7

PATCH Udo A. Steinberg 1 participant 1 message Dec 8, 2001 VFS

lore
Share & tools
lore
#0 lore raw

Hello,

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

Regards,
Udo.

init/do_mounts.c Sat Dec 8 02:46:18 2001 renamed from init/do_mounts.c Sat Dec 8 02:58:00 2001 +3 -0
diff -urN -X dontdiff linux-vanilla/init/do_mounts.c linux-2.5.1/init/do_mounts.c
@@ -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 */
kernel/device.c Sat Dec 8 02:56:05 2001 renamed from kernel/device.c Sat Dec 8 02:58:00 2001 +0 -1
diff -urN -X dontdiff linux-vanilla/kernel/device.c linux-2.5.1/kernel/device.c
@@ -899,7 +899,6 @@
 int __init device_driver_init(void)
 {
        int error = 0;
-       int pid;
 
        DBG("DEV: Initialising Device Tree\n");