summaryrefslogtreecommitdiff
path: root/src/map/atcommand.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/atcommand.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/atcommand.hpp')
-rw-r--r--src/map/atcommand.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/atcommand.hpp b/src/map/atcommand.hpp
index 824a7cf..d35cb4f 100644
--- a/src/map/atcommand.hpp
+++ b/src/map/atcommand.hpp
@@ -209,8 +209,6 @@ AtCommandType atcommand (const int level, const char *message,
AtCommandInfo * info);
int get_atcommand_level (const AtCommandType type);
-char *msg_txt (int msg_number); // [Yor]
-
int atcommand_item (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris]
int atcommand_warp (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor]
int atcommand_spawn (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris]
@@ -218,9 +216,10 @@ int atcommand_goto (const int fd, struct map_session_data *sd, const char *comm
int atcommand_recall (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor]
int atcommand_config_read (const char *cfgName);
-int msg_config_read (const char *cfgName);
+__attribute__((format(printf, 2, 3)))
void log_atcommand (struct map_session_data *sd, const char *fmt, ...);
+__attribute__((format(printf, 1, 2)))
void gm_log (const char *fmt, ...);
#endif