summaryrefslogtreecommitdiff
path: root/src/map/chat.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-08-30 17:37:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2012-09-03 16:23:10 -0700
commit31544d2b6973931be7fdec898ea3672bea831de2 (patch)
treedcf946429b406f39297404be662b0a840094e477 /src/map/chat.hpp
parent41974ae5265fbc23a06f276f9e008d5dad020e0b (diff)
downloadtmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.gz
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.bz2
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.xz
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.zip
Fix compiler errors of C++ conversion
Diffstat (limited to 'src/map/chat.hpp')
-rw-r--r--src/map/chat.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/chat.hpp b/src/map/chat.hpp
index 3a9ccb6..fca9217 100644
--- a/src/map/chat.hpp
+++ b/src/map/chat.hpp
@@ -4,17 +4,17 @@
#include "map.hpp"
-int chat_createchat (struct map_session_data *, int, int, char *, char *,
+int chat_createchat (struct map_session_data *, int, int, const char *, const char *,
int);
-int chat_joinchat (struct map_session_data *, int, char *);
+int chat_joinchat (struct map_session_data *, int, const char *);
int chat_leavechat (struct map_session_data *);
-int chat_changechatowner (struct map_session_data *, char *);
-int chat_changechatstatus (struct map_session_data *, int, int, char *,
- char *, int);
-int chat_kickchat (struct map_session_data *, char *);
+int chat_changechatowner (struct map_session_data *, const char *);
+int chat_changechatstatus (struct map_session_data *, int, int, const char *,
+ const char *, int);
+int chat_kickchat (struct map_session_data *, const char *);
int chat_createnpcchat (struct npc_data *nd, int limit, int pub, int trigger,
- char *title, int titlelen, const char *ev);
+ const char *title, int titlelen, const char *ev);
int chat_deletenpcchat (struct npc_data *nd);
int chat_enableevent (struct chat_data *cd);
int chat_disableevent (struct chat_data *cd);