summaryrefslogtreecommitdiff
path: root/chat/bitchx/patches/patch-ap
blob: 3060bb72a933cb68ecfb841474c0a40917f58f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ap,v 1.1 2007/03/17 13:25:46 rillig Exp $

gcc4 complains:
error: static declaration of 'ctcp_type' follows non-static declaration

--- source/ctcp.c.orig	2003-05-27 09:00:22.000000000 +0200
+++ source/ctcp.c	2007-03-17 14:12:31.000000000 +0100
@@ -176,7 +176,7 @@ CtcpEntryDll *dll_ctcp = NULL;
 
 /* CDE do ops and unban logging */
 
-static char	*ctcp_type[] =
+char	*ctcp_type[] =
 {
 	"PRIVMSG",
 	"NOTICE"