diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-03 09:25:38 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-03 09:25:38 +0000 |
commit | 0118e0b185413fbf8794fe89798c61b0a6f9a893 (patch) | |
tree | 291a381922a542b312ab5e17b4890287514c4974 /src/modules.c | |
parent | a3a787412be30089c8f02a52237f933dab383e87 (diff) |
# BUILD : 1.7.14 (1040) # BUGS : 509 511 # NOTES : Fixed compiler warnigs, thx to trystan. again.
git-svn-id: svn://svn.anope.org/anope/trunk@1040 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@764 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |