add qos-scripts package port for buildroot-ng
[openwrt.git] / package / shfs / patches / 102-gcc4_fix.patch
1 diff -ur shfs-0.35/shfs/Linux-2.6/dir.c shfs-0.35-new/shfs/Linux-2.6/dir.c
2 --- shfs-0.35/shfs/Linux-2.6/dir.c 2004-06-01 09:16:19.000000000 -0400
3 +++ shfs-0.35-new/shfs/Linux-2.6/dir.c 2005-02-11 18:12:00.000000000 -0500
4 @@ -19,6 +19,8 @@
5 #include "shfs_debug.h"
6 #include "proc.h"
7
8 +static struct dentry_operations shfs_dentry_operations;
9 +
10 static int
11 shfs_dir_open(struct inode *inode, struct file *filp)
12 {
13 diff -ur shfs-0.35/shfs/Linux-2.6/shfs_fs.h shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h
14 --- shfs-0.35/shfs/Linux-2.6/shfs_fs.h 2004-06-01 09:16:19.000000000 -0400
15 +++ shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h 2005-02-11 18:12:03.000000000 -0500
16 @@ -50,7 +50,6 @@
17 #define ROUND_TO_MINS(x) do { (x).tv_sec = ((x).tv_sec / 60) * 60; (x).tv_nsec = 0; } while (0)
18
19 /* shfs/dir.c */
20 -extern struct dentry_operations shfs_dentry_operations;
21 extern struct file_operations shfs_dir_operations;
22 extern struct inode_operations shfs_dir_inode_operations;
23 extern void shfs_new_dentry(struct dentry *dentry);
This page took 0.04104 seconds and 5 git commands to generate.