summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/buyingstore.c2
-rw-r--r--src/map/searchstore.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c
index 229cc6f5b..8f158cd29 100644
--- a/src/map/buyingstore.c
+++ b/src/map/buyingstore.c
@@ -34,7 +34,7 @@ enum e_buyingstore_failure
static unsigned int buyingstore_nextid = 0;
-static short buyingstore_blankslots[MAX_SLOTS] = { 0 }; // used when checking whether or not an item's card slots are blank
+static const short buyingstore_blankslots[MAX_SLOTS] = { 0 }; // used when checking whether or not an item's card slots are blank
/// Returns unique buying store id
diff --git a/src/map/searchstore.c b/src/map/searchstore.c
index 9c9de1f91..d7378ab36 100644
--- a/src/map/searchstore.c
+++ b/src/map/searchstore.c
@@ -5,10 +5,9 @@
#include "../common/malloc.h" // aMalloc, aRealloc, aFree
#include "../common/showmsg.h" // ShowError, ShowWarning
#include "../common/strlib.h" // safestrncpy
-#include "atcommand.h" // msg_txt
#include "battle.h" // battle_config.*
#include "clif.h" // clif_open_search_store_info, clif_search_store_info_*
-#include "pc.h" // struct map_session_data, pc_setpos, pc_isGM
+#include "pc.h" // struct map_session_data
#include "searchstore.h" // struct s_search_store_info