Messages in this thread Patch in this message | | | Date | Sat, 21 Nov 1998 21:16:59 -0500 (EST) | From | Alexander Viro <> | Subject | Re: 2.1.129 compile warnings |
| |
On Fri, 20 Nov 1998, Thomas Molina wrote:
> during the compile of 2.1.129 I got the following warnings (the config > file follows thereafter): [snip] > inode.c:44: warning: static declaration for `minix_write_super' follows non-static > inode.c:59: warning: static declaration for `minix_put_super' follows non-static > inode.c:90: warning: static declaration for `minix_remount' follows non-static > inode.c:167: warning: static declaration for `minix_read_super' follows non-static > inode.c:330: warning: static declaration for `minix_statfs' follows non-static > inode.c:834: warning: static declaration for `minix_read_inode' follows non-static > inode.c:928: warning: static declaration for `minix_write_inode' follows non-static [snip] My fault. I've sent a patch to Linus some time ago but it wasn't included into 129.
Linus, could you apply this one?
--- include/linux/minix_fs.h Sat Jun 13 16:25:12 1998 +++ include/linux/minix_fs.h Sat Nov 14 02:32:14 1998 @@ -113,14 +113,7 @@ extern struct buffer_head * minix_bread(struct inode *, int, int); extern void minix_truncate(struct inode *); -extern void minix_put_super(struct super_block *); -extern struct super_block *minix_read_super(struct super_block *,void *,int); extern int init_minix_fs(void); -extern void minix_write_super(struct super_block *); -extern int minix_remount (struct super_block * sb, int * flags, char * data); -extern void minix_read_inode(struct inode *); -extern void minix_write_inode(struct inode *); -extern int minix_statfs(struct super_block *, struct statfs *, int); extern int minix_sync_inode(struct inode *); extern int minix_sync_file(struct file *, struct dentry *); --- fs/minix/inode.c.old Fri Nov 13 18:31:13 1998 +++ fs/minix/inode.c Sat Nov 14 04:10:30 1998 @@ -26,6 +26,11 @@ #include <linux/minix_fs.h> +static void minix_read_inode(struct inode * inode); +static void minix_write_inode(struct inode * inode); +static int minix_statfs(struct super_block *sb, struct statfs *buf, int bufsiz); +static int minix_remount (struct super_block * sb, int * flags, char * data); + static void minix_delete_inode(struct inode *inode) { inode->i_size = 0;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |