mirror of
https://github.com/anope/anope.git
synced 2026-07-06 18:43:13 +02:00
BUILD : 1.7.10 (840) BUGS : NOTES : Fixed most core compile warnings when using make strict
git-svn-id: svn://svn.anope.org/anope/trunk@840 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@593 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
0d5132c0c7
commit
0190e74b31
@@ -3,6 +3,7 @@ Anope Version S V N
|
||||
Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
06/26 A New module pack module: hs_request. [ #00]
|
||||
06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389]
|
||||
07/01 F Most core compile warnings when using make strict. [ #00]
|
||||
07/01 F Requesting a -version on startup doesn't require a valid config. [ #00]
|
||||
06/04 F Register script now works again. [#394]
|
||||
06/04 F Finishing sync for Ultimate3 was not done correctly. [#398]
|
||||
|
||||
+4
-1
@@ -582,7 +582,8 @@ E void set_lastmask(User * u);
|
||||
/**** init.c ****/
|
||||
|
||||
E void introduce_user(const char *user);
|
||||
E int init(int ac, char **av);
|
||||
E int init_primary(int ac, char **av);
|
||||
E int init_secondary(int ac, char **av);
|
||||
E int servernum;
|
||||
|
||||
/**** ircd.c ****/
|
||||
@@ -1153,6 +1154,8 @@ E void notice(char *source, char *dest, const char *fmt, ...);
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
E int anope_set_mod_current_buffer(int ac, char **av);
|
||||
|
||||
E void anope_cmd_211(const char *fmt, ...); /* 211 */
|
||||
E void anope_cmd_219(char *source, char *who); /* 219 */
|
||||
E void anope_cmd_242(const char *fmt, ...); /* 242 */
|
||||
|
||||
+4
-4
@@ -147,7 +147,7 @@ int protocol_module_init(void)
|
||||
|
||||
/* We can assume the ircd supports TS6 here */
|
||||
if (UseTS6 && !Numeric) {
|
||||
error(0, "UseTS6 requires the setting of Numeric to be enabled.");
|
||||
alog("UseTS6 requires the setting of Numeric to be enabled.");
|
||||
ret = -1;
|
||||
}
|
||||
|
||||
@@ -474,7 +474,7 @@ int loadModule(Module * m, User * u)
|
||||
return MOD_ERR_NOLOAD;
|
||||
}
|
||||
ano_modclearerr();
|
||||
func = ano_modsym(m->handle, "AnopeInit");
|
||||
func = (int (*)(int, char **))ano_modsym(m->handle, "AnopeInit");
|
||||
if ((err = ano_moderr()) != NULL) {
|
||||
ano_modclose(m->handle); /* If no AnopeInit - it isnt an Anope Module, close it */
|
||||
if (u) {
|
||||
@@ -540,7 +540,7 @@ int loadModule(Module * m, User * u)
|
||||
int unloadModule(Module * m, User * u)
|
||||
{
|
||||
#ifdef USE_MODULES
|
||||
void (*func) ();
|
||||
void (*func) (void);
|
||||
|
||||
if (!m || !m->handle) {
|
||||
if (u) {
|
||||
@@ -560,7 +560,7 @@ int unloadModule(Module * m, User * u)
|
||||
return MOD_ERR_UNKNOWN;
|
||||
}
|
||||
|
||||
func = ano_modsym(m->handle, "AnopeFini");
|
||||
func = (void (*)(void))ano_modsym(m->handle, "AnopeFini");
|
||||
if (func) {
|
||||
mod_current_module_name = m->name;
|
||||
func(); /* exec AnopeFini */
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="10"
|
||||
VERSION_BUILD="839"
|
||||
VERSION_BUILD="840"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.10 (840)
|
||||
# BUGS :
|
||||
# NOTES : Fixed most core compile warnings when using make strict
|
||||
#
|
||||
# BUILD : 1.7.10 (839)
|
||||
# BUGS :
|
||||
# NOTES : Removed the requirement of a valid config file when running ./services -version
|
||||
|
||||
Reference in New Issue
Block a user