summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-03-29 11:32:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-03-29 11:32:34 +0000
commit5b6e1461349fc9e718cc7c1689c69b333e988ad0 (patch)
tree1a387a099c931c964e23d1fd10e2fc953d08ed1d /openwrt/package
parentabfe119bcbac145fd3b5284b93dcc000ecb5a370 (diff)
downloadmtk-20170518-5b6e1461349fc9e718cc7c1689c69b333e988ad0.zip
mtk-20170518-5b6e1461349fc9e718cc7c1689c69b333e988ad0.tar.gz
mtk-20170518-5b6e1461349fc9e718cc7c1689c69b333e988ad0.tar.bz2
Fix BitchX compilation, remove previous declarations of some variables, closes #425
SVN-Revision: 3542
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/bitchx/patches/BitchX-fix_declarations.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/package/bitchx/patches/BitchX-fix_declarations.patch b/openwrt/package/bitchx/patches/BitchX-fix_declarations.patch
new file mode 100644
index 0000000..b6766da
--- /dev/null
+++ b/openwrt/package/bitchx/patches/BitchX-fix_declarations.patch
@@ -0,0 +1,24 @@
+diff -urN BitchX/include/ctcp.h BitchX.new/include/ctcp.h
+--- BitchX/include/ctcp.h 2003-04-11 03:09:07.000000000 +0200
++++ BitchX.new/include/ctcp.h 2006-03-29 13:19:21.170693168 +0200
+@@ -56,7 +56,7 @@
+ extern CtcpEntryDll *dll_ctcp;
+
+
+-extern char *ctcp_type[];
++//extern char *ctcp_type[]; /* already declared in ctcp.c
+ extern int sed;
+ extern int in_ctcp_flag;
+
+diff -urN BitchX/include/struct.h BitchX.new/include/struct.h
+--- BitchX/include/struct.h 2003-04-11 03:09:07.000000000 +0200
++++ BitchX.new/include/struct.h 2006-03-29 13:19:26.653859600 +0200
+@@ -1064,7 +1064,7 @@
+ int delete;
+ } TimerList;
+
+-extern TimerList *PendingTimers;
++//extern TimerList *PendingTimers;
+ typedef struct nicktab_stru
+ {
+ struct nicktab_stru *next;