Fix msdos warnings
PATCH 1/1 Fix msdos warnings
Hi,
gcc -D__KERNEL__ -I/devel/src/linux/source/msdos_warning-2.4.10-pre1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c -o namei.o namei.cnamei.c: In function `msdos_lookup':
namei.c:237: warning: implicit declaration of function fat_brelse' namei.c: In function msdos_add_entry':
namei.c:266: warning: implicit declaration of function `fat_mark_buffer_dirty'
gcc -D__KERNEL__ -I/devel/src/linux/source/msdos_warning-2.4.10-pre1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DEXPORT_SYMTAB -c msdosfs_syms.c
rm -f msdos.o
ld -m elf_i386 -r -o msdos.o namei.o msdosfs_syms.o
The following patch fix the above warnings.
Please apply.
Signature · 13 lines
OGAWA Hirofumi <[email protected]> diff -urN linux-2.4.10-pre1/fs/msdos/namei.c msdos_warning-2.4.10-pre1/fs/msdos/namei.c --- linux-2.4.10-pre1/fs/msdos/namei.c Mon Aug 13 03:13:59 2001 +++ msdos_warning-2.4.10-pre1/fs/msdos/namei.c Tue Aug 28 23:26:48 2001 @@ -17,6 +17,8 @@ #include <asm/uaccess.h> +#include "../fat/msbuffer.h" + #define MSDOS_DEBUG 0 #define PRINTK(x)