summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-07 17:36:25 +0100
committerHaru <haru@dotalux.com>2016-02-24 21:00:30 +0100
commitd734e17ce1cbbd2379fc438a3269416d2ff1ed44 (patch)
treeb146e4d2778f7cf53aea34853ea0ebe957db582e /src/map/clif.h
parent3188738be5ee78651e31c1340fac7fed81bbefb5 (diff)
downloadhercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.gz
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.bz2
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.xz
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.zip
Added const qualifier to various variable/argument pointers
- This is necessary for compatibility with a const RP2PTR/RFIFO2PTR Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index d3be4a971..3b7e2e99f 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -1051,7 +1051,7 @@ struct clif_interface {
void (*elemental_updatestatus) (struct map_session_data *sd, int type);
/* bgqueue */
void (*bgqueue_ack) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK response, unsigned char arena_id);
- void (*bgqueue_notice_delete) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED response, char *name);
+ void (*bgqueue_notice_delete) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED response, const char *name);
void (*bgqueue_update_info) (struct map_session_data *sd, unsigned char arena_id, int position);
void (*bgqueue_joined) (struct map_session_data *sd, int pos);
void (*bgqueue_pcleft) (struct map_session_data *sd);
@@ -1080,7 +1080,7 @@ struct clif_interface {
int (*delay_damage_sub) (int tid, int64 tick, int id, intptr_t data);
/* NPC Market */
void (*npc_market_open) (struct map_session_data *sd, struct npc_data *nd);
- void (*npc_market_purchase_ack) (struct map_session_data *sd, struct packet_npc_market_purchase *req, unsigned char response);
+ void (*npc_market_purchase_ack) (struct map_session_data *sd, const struct packet_npc_market_purchase *req, unsigned char response);
/* */
bool (*parse_roulette_db) (void);
void (*roulette_generate_ack) (struct map_session_data *sd, unsigned char result, short stage, short prizeIdx, short bonusItemID);