aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/patches/120-no_dumb_inline.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-24 10:58:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-24 10:58:39 +0000
commit566472ce8e430197cc54cc686f22f952eaa95009 (patch)
tree881c89bc8301332e50acafb1019ef4adf36a5564 /package/ar7-atm/patches/120-no_dumb_inline.patch
parentbe228f796c9dd1f1927bea5e72110983603c9cab (diff)
downloadupstream-566472ce8e430197cc54cc686f22f952eaa95009.tar.gz
upstream-566472ce8e430197cc54cc686f22f952eaa95009.tar.bz2
upstream-566472ce8e430197cc54cc686f22f952eaa95009.zip
Add ar7-atm fixes by DerAgo, also fix compilation (the use of dumb inlining in prototypes caused it to fail)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8140 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ar7-atm/patches/120-no_dumb_inline.patch')
-rw-r--r--package/ar7-atm/patches/120-no_dumb_inline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ar7-atm/patches/120-no_dumb_inline.patch b/package/ar7-atm/patches/120-no_dumb_inline.patch
new file mode 100644
index 0000000000..f9c472f0ca
--- /dev/null
+++ b/package/ar7-atm/patches/120-no_dumb_inline.patch
@@ -0,0 +1,11 @@
+--- sangam_atm-07.01.00.10/tn7api.h 2006-10-26 16:48:34.000000000 +0200
++++ sangam_atm-07.01.00.10.new/tn7api.h 2007-07-24 12:43:04.000000000 +0200
+@@ -104,7 +104,7 @@
+
+ int tn7dsl_proc_write_stats(struct file *fp, const char * buf, unsigned long count, void * data);
+ int tn7dsl_proc_modem(char* buf, char **start, off_t offset, int count,int *eof, void *data);
+-inline int tn7dsl_handle_interrupt(void);
++int tn7dsl_handle_interrupt(void);
+
+ void tn7dsl_dslmod_sysctl_register(void);
+ void tn7dsl_dslmod_sysctl_unregister(void);