[PATCH] jffs/jffs2: remove wrong function prototypes

This patch removes prototypes for the generic_file_open and
generic_file_llseek functions.

Besides being superfluous because they are already present in fs.h, they
were also wrong because the actual functions aren't weak functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Cette révision appartient à :
Adrian Bunk
2005-09-06 15:17:23 -07:00
révisé par Linus Torvalds
Parent 919532a545
révision 5e1efe4931
2 fichiers modifiés avec 0 ajouts et 6 suppressions

Voir le fichier

@@ -1629,9 +1629,6 @@ static int jffs_fsync(struct file *f, struct dentry *d, int datasync)
}
extern int generic_file_open(struct inode *, struct file *) __attribute__((weak));
extern loff_t generic_file_llseek(struct file *, loff_t, int) __attribute__((weak));
static struct file_operations jffs_file_operations =
{
.open = generic_file_open,