aboutsummaryrefslogtreecommitdiffstats
path: root/package/shfs/patches/103-shfs_0.35_gcc4.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-08 21:45:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-08 21:45:02 +0000
commit820555812e16ae9709c5d743d3250ab744c664e4 (patch)
treed12f1342572505893652c4c9ecbf6e05ba223d40 /package/shfs/patches/103-shfs_0.35_gcc4.patch
parent6a543b6c1e4ea681cb4900636f4ed85535bf199f (diff)
downloadupstream-820555812e16ae9709c5d743d3250ab744c664e4.tar.gz
upstream-820555812e16ae9709c5d743d3250ab744c664e4.tar.bz2
upstream-820555812e16ae9709c5d743d3250ab744c664e4.zip
Forgot comitting patches
SVN-Revision: 7142
Diffstat (limited to 'package/shfs/patches/103-shfs_0.35_gcc4.patch')
-rw-r--r--package/shfs/patches/103-shfs_0.35_gcc4.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/shfs/patches/103-shfs_0.35_gcc4.patch b/package/shfs/patches/103-shfs_0.35_gcc4.patch
new file mode 100644
index 0000000000..846dcb0d3e
--- /dev/null
+++ b/package/shfs/patches/103-shfs_0.35_gcc4.patch
@@ -0,0 +1,21 @@
+--- shfs-0.35/shfs/Linux-2.6/dir.c 2004-06-01 09:16:19.000000000 -0400
++++ shfs-0.35-new/shfs/Linux-2.6/dir.c 2005-02-11 18:12:00.000000000 -0500
+@@ -19,6 +19,8 @@
+ #include "shfs_debug.h"
+ #include "proc.h"
+
++static struct dentry_operations shfs_dentry_operations;
++
+ static int
+ shfs_dir_open(struct inode *inode, struct file *filp)
+ {
+--- shfs-0.35/shfs/Linux-2.6/shfs_fs.h 2004-06-01 09:16:19.000000000 -0400
++++ shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h 2005-02-11 18:12:03.000000000 -0500
+@@ -50,7 +50,6 @@
+ #define ROUND_TO_MINS(x) do { (x).tv_sec = ((x).tv_sec / 60) * 60; (x).tv_nsec = 0; } while (0)
+
+ /* shfs/dir.c */
+-extern struct dentry_operations shfs_dentry_operations;
+ extern struct file_operations shfs_dir_operations;
+ extern struct inode_operations shfs_dir_inode_operations;
+ extern void shfs_new_dentry(struct dentry *dentry);