Forgot comitting patches
[openwrt-10.03/.git] / package / shfs / patches / 103-shfs_0.35_gcc4.patch
1 --- shfs-0.35/shfs/Linux-2.6/dir.c      2004-06-01 09:16:19.000000000 -0400
2 +++ shfs-0.35-new/shfs/Linux-2.6/dir.c  2005-02-11 18:12:00.000000000 -0500
3 @@ -19,6 +19,8 @@
4  #include "shfs_debug.h"
5  #include "proc.h"
6  
7 +static struct dentry_operations shfs_dentry_operations;
8 +       
9  static int
10  shfs_dir_open(struct inode *inode, struct file *filp)
11  {
12 --- shfs-0.35/shfs/Linux-2.6/shfs_fs.h  2004-06-01 09:16:19.000000000 -0400
13 +++ shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h      2005-02-11 18:12:03.000000000 -0500
14 @@ -50,7 +50,6 @@
15  #define ROUND_TO_MINS(x) do { (x).tv_sec = ((x).tv_sec / 60) * 60; (x).tv_nsec = 0; } while (0)
16  
17  /* shfs/dir.c */
18 -extern struct dentry_operations shfs_dentry_operations;
19  extern struct file_operations shfs_dir_operations;
20  extern struct inode_operations shfs_dir_inode_operations;
21  extern void shfs_new_dentry(struct dentry *dentry);