diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-03-29 11:32:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-03-29 11:32:34 +0000 |
commit | 245e4c0bbc4c47f70874be355f3254f9bf0c7b20 (patch) | |
tree | 555b4abac823cf02750d596cf3901f54663e3cce /package/bitchx/patches | |
parent | acefaff51cda199da89c337c214b21b2288bd649 (diff) | |
download | upstream-245e4c0bbc4c47f70874be355f3254f9bf0c7b20.tar.gz upstream-245e4c0bbc4c47f70874be355f3254f9bf0c7b20.tar.bz2 upstream-245e4c0bbc4c47f70874be355f3254f9bf0c7b20.zip |
Fix BitchX compilation, remove previous declarations of some variables, closes #425
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/bitchx/patches')
-rw-r--r-- | package/bitchx/patches/BitchX-fix_declarations.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/bitchx/patches/BitchX-fix_declarations.patch b/package/bitchx/patches/BitchX-fix_declarations.patch new file mode 100644 index 0000000000..b6766da596 --- /dev/null +++ b/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; |