From ba9c1cc16cb8f696a50d0ae928b6e8a19086405b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 Sep 2015 23:42:44 +0300 Subject: Add missing checks into atcommand.c --- src/map/atcommand.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/atcommand.h') diff --git a/src/map/atcommand.h b/src/map/atcommand.h index ccc7d3725..6c8dbf9ef 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -114,6 +114,8 @@ struct atcommand_interface { void (*get_jail_time) (int jailtime, int* year, int* month, int* day, int* hour, int* minute); int (*cleanfloor_sub) (struct block_list *bl, va_list ap); int (*mutearea_sub) (struct block_list *bl,va_list ap); + void (*getring) (struct map_session_data* sd); + void (*channel_help) (int fd, const char *command, bool can_create); /* */ void (*commands_sub) (struct map_session_data* sd, const int fd, AtCommandType type); void (*cmd_db_clear) (void); @@ -134,6 +136,7 @@ void atcommand_defaults(void); HPShared struct atcommand_interface *atcommand; /* stay here */ -#define ACMD(x) static bool atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command, const char* message, struct AtCommandInfo *info) +#define ACMD(x) static bool atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command, const char* message, struct AtCommandInfo *info) __attribute__((nonnull (2, 3, 4, 5))); \ + static bool atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command, const char* message, struct AtCommandInfo *info) #endif /* MAP_ATCOMMAND_H */ -- cgit v1.2.3-60-g2f50