e4c13882c4379ffdd3535b17665bb291c6515e75
[openwrt.git] / package / shfs / patches / 103-shfs_0.35_gcc4.patch
1 Index: shfs-0.35/shfs/Linux-2.6/dir.c
2 ===================================================================
3 --- shfs-0.35.orig/shfs/Linux-2.6/dir.c 2007-06-04 13:22:58.041031704 +0200
4 +++ shfs-0.35/shfs/Linux-2.6/dir.c 2007-06-04 13:22:58.822912840 +0200
5 @@ -19,6 +19,8 @@
6 #include "shfs_debug.h"
7 #include "proc.h"
8
9 +static struct dentry_operations shfs_dentry_operations;
10 +
11 static int
12 shfs_dir_open(struct inode *inode, struct file *filp)
13 {
14 Index: shfs-0.35/shfs/Linux-2.6/shfs_fs.h
15 ===================================================================
16 --- shfs-0.35.orig/shfs/Linux-2.6/shfs_fs.h 2007-06-04 13:22:58.398977288 +0200
17 +++ shfs-0.35/shfs/Linux-2.6/shfs_fs.h 2007-06-04 13:22:58.823912688 +0200
18 @@ -56,7 +56,6 @@
19 #define ROUND_TO_MINS(x) do { (x).tv_sec = ((x).tv_sec / 60) * 60; (x).tv_nsec = 0; } while (0)
20
21 /* shfs/dir.c */
22 -extern struct dentry_operations shfs_dentry_operations;
23 extern struct file_operations shfs_dir_operations;
24 extern struct inode_operations shfs_dir_inode_operations;
25 extern void shfs_new_dentry(struct dentry *dentry);
This page took 0.043849 seconds and 3 git commands to generate.