diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | include/services.h | 6 | ||||
-rw-r--r-- | src/config.c | 2 | ||||
-rw-r--r-- | src/events.c | 2 | ||||
-rw-r--r-- | src/modules.c | 6 | ||||
-rw-r--r-- | version.log | 6 |
6 files changed, 12 insertions, 12 deletions
@@ -12,6 +12,8 @@ Provided by Anope Dev. <dev@anope.org> - 2006 05/25 F src/bin/register being too case sensitive on YES. [#500] 05/25 F src/bin/register still said ./configured instead of ./Config . [ #00] 05/25 F Q:Line not added for bots when only changing nicks. [#493] +06/03 F Removed INTTYPE_WORKAROUND stuff which could cause warnings. [#509] +06/03 F Fixed compiler warnings. [#511] Provided by ThaPrince <jon@vile.com> - 2006 05/19 A Plexus 3 support. [ #00] diff --git a/include/services.h b/include/services.h index 5714fbe69..3d7d8b140 100644 --- a/include/services.h +++ b/include/services.h @@ -27,12 +27,6 @@ * prototype of strsignal(). */ #define _GNU_SOURCE -/* Some AIX boxes define int16 and int32 on their own. Blarph. */ -#if INTTYPE_WORKAROUND -# define int16 builtin_int16 -# define int32 builtin_int32 -#endif - /* Some SUN fixs */ #ifdef __sun /* Solaris specific code, types that do not exist in Solaris' diff --git a/src/config.c b/src/config.c index b46904a6b..de5a75f93 100644 --- a/src/config.c +++ b/src/config.c @@ -651,7 +651,7 @@ Directive directives[] = { /* Print an error message to the log (and the console, if open). */ -void error(int linenum, char *message, ...) +void error(int linenum, const char *message, ...) { char buf[4096]; va_list args; diff --git a/src/events.c b/src/events.c index 8d675b976..08af16dd9 100644 --- a/src/events.c +++ b/src/events.c @@ -36,7 +36,7 @@ EvtHook *find_eventhook(const char *name) return m; } -void send_event(char *name, int argc, ...) +void send_event(const char *name, int argc, ...) { va_list va; char *a; diff --git a/src/modules.c b/src/modules.c index 5f7d75020..26e82795f 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1324,7 +1324,7 @@ Command *findCommand(CommandHash * cmdTable[], const char *name) * @param func a pointer to the function to call when we recive this message * @return a new Message object **/ -Message *createMessage(char *name, +Message *createMessage(const char *name, int (*func) (char *source, int ac, char **av)) { Message *m = NULL; @@ -1615,7 +1615,7 @@ int destroyMessage(Message * m) * Add the modules version info. * @param version the version of the current module **/ -void moduleAddVersion(char *version) +void moduleAddVersion(const char *version) { if (mod_current_module && version) { mod_current_module->version = sstrdup(version); @@ -1626,7 +1626,7 @@ void moduleAddVersion(char *version) * Add the modules author info * @param author the author of the module **/ -void moduleAddAuthor(char *author) +void moduleAddAuthor(const char *author) { if (mod_current_module && author) { mod_current_module->author = sstrdup(author); diff --git a/version.log b/version.log index b0796e313..1d91dfe22 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1039" +VERSION_BUILD="1040" # $Log$ # +# BUILD : 1.7.14 (1040) +# BUGS : 509 511 +# NOTES : Fixed compiler warnigs, thx to trystan. again. +# # BUILD : 1.7.14 (1039) # BUGS : 493 # NOTES : Fixed /bs BOT CHANGE not setting new Q:Line when only nick was changed |