From 12ef623e94b5b1e668739c083eab3e045cf0b3f3 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:08 +0000 Subject: Partial fixes for g++, need to commit this git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1175 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 191417984..74a90a768 100644 --- a/include/extern.h +++ b/include/extern.h @@ -778,7 +778,7 @@ E int do_mysql; E int is44; E int quitting; E int delayed_quit; -E char *quitmsg; +E const char *quitmsg; E char inbuf[BUFSIZE]; E int servsock; E int save_data; @@ -1269,7 +1269,7 @@ E void anope_cmd_server(char *servname, int hop, char *descript); /* S E void anope_cmd_sgline(char *mask, char *reason); /* SGLINE */ E void anope_cmd_sqline(char *mask, char *reason); /* SQLINE */ E void anope_cmd_szline(char *mask, char *reason, char *whom); /* SZLINE */ -E void anope_cmd_squit(char *servname, char *message); /* SQUIT */ +E void anope_cmd_squit(const char *servname, const char *message); /* SQUIT */ E void anope_cmd_svinfo(); /* SVINFO */ E void anope_cmd_svsadmin(char *server, int set); /* SVSADMIN */ E void anope_cmd_svshold(char *nick); /* SVSHOLD */ -- cgit