summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/extern.h4
-rw-r--r--include/modules.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/extern.h b/include/extern.h
index 2f4feb434..fefdc56bb 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1347,8 +1347,8 @@ E char *host_resolve(char *host);
E void event_message_process(char *eventbuf);
E void eventprintf(char *fmt, ...);
-E void event_process_hook(char *name, int argc, char **argv);
-E void send_event(char *name, int argc, ...);
+E void event_process_hook(const char *name, int argc, char **argv);
+E void send_event(const char *name, int argc, ...);
#ifdef _WIN32
E char *GetWindowsVersion(void) ;
diff --git a/include/modules.h b/include/modules.h
index f9c16f7b3..9079d80a9 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -273,8 +273,8 @@ int loadModule(Module *m,User *u); /* Load the given module into the program */
int protocol_module_init(void); /* Load the IRCD Protocol Module up*/
int unloadModule(Module *m, User *u); /* Unload the given module from the pro */
int prepForUnload(Module *m); /* Prepare the module for unload */
-MDE void moduleAddVersion(char *version);
-MDE void moduleAddAuthor(char *author);
+MDE void moduleAddVersion(const char *version);
+MDE void moduleAddAuthor(const char *author);
void modules_init(void);
void modules_delayed_init(void);
void moduleCallBackPrepForUnload(char *mod_name);
@@ -316,7 +316,7 @@ Command *findCommand(CommandHash *cmdTable[], const char *name); /* Find a comma
/*************************************************************************/
/* Message Managment Functions */
-MDE Message *createMessage(char *name,int (*func)(char *source, int ac, char **av));
+MDE Message *createMessage(const char *name,int (*func)(char *source, int ac, char **av));
Message *findMessage(MessageHash *msgTable[], const char *name); /* Find a Message */
MDE int addMessage(MessageHash *msgTable[], Message *m, int pos); /* Add a Message to a Message table */
MDE int addCoreMessage(MessageHash *msgTable[], Message *m); /* Add a Message to a Message table */