diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-03 16:50:58 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-03 16:50:58 +0000 |
commit | 5eb4c3576d76dd6885fe84f511f5b3096942c0e0 (patch) | |
tree | ce3a5681281292e0abfa8c5143dbc141c5c9093d /src/map/map.c | |
parent | 953e7a71cb6d5daad3993473d8db2d4802a6b09d (diff) | |
download | hercules-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.c | 4 |
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] |