Add ar7-atm fixes by DerAgo, also fix compilation (the use of dumb inlining in protot...
[openwrt-10.03/.git] / package / ar7-atm / patches / 120-no_dumb_inline.patch
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 (file)
index 0000000..f9c472f
--- /dev/null
@@ -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);