summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-03 16:50:58 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-03 16:50:58 +0000
commit5eb4c3576d76dd6885fe84f511f5b3096942c0e0 (patch)
treece3a5681281292e0abfa8c5143dbc141c5c9093d /src/map/map.c
parent953e7a71cb6d5daad3993473d8db2d4802a6b09d (diff)
downloadhercules-5eb4c3576d76dd6885fe84f511f5b3096942c0e0.tar.gz
hercules-5eb4c3576d76dd6885fe84f511f5b3096942c0e0.tar.bz2
hercules-5eb4c3576d76dd6885fe84f511f5b3096942c0e0.tar.xz
hercules-5eb4c3576d76dd6885fe84f511f5b3096942c0e0.zip
- Made ers double frees report as missing entries on destruction.
- Only one swap function (in cbasetypes.h) is used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9396 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 8d596b394..3a321fc68 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -11,6 +11,7 @@
#include <unistd.h>
#endif
+#include "../common/cbasetypes.h"
#include "../common/core.h"
#include "../common/timer.h"
#include "../common/grfio.h"
@@ -49,9 +50,6 @@
#include "irc.h"
-// maybe put basic macros to somewhere else
-#define swap(a,b) ((a == b) || ((a ^= b), (b ^= a), (a ^= b)))
-
#ifndef TXT_ONLY
#include "mail.h" // mail system [Valaris]