From 44ce1e507f08e4d808dbae8abeb355e01de1819f Mon Sep 17 00:00:00 2001 From: flaviojs Date: Tue, 19 Jul 2011 04:12:30 +0000 Subject: * Made NO_MEMMGR only be set as a default value, allowing for simultaneous use with the memory libraries. * Moved memory library selection to malloc.c to avoid poisoning the namespace of the rest of the code. * Removed BCHECK code since it's unneeded. (bcheck is an external batch tool that runs on top of the dbx debugger) * Fixed GCOLLECT usage. (missing init and final memory leak check) * Fixed DMALLOC usage. (missing options on CYGWIN and verify memory) * Renamed malloc_verify to malloc_verify_ptr to avoid conflict with DMALLOC. * Changed itemtype from inline to static inline to avoid error with the SunOS compiler. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14913 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 071401acf..e0fb480a9 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -57,7 +57,7 @@ struct Clif_Config { struct s_packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB + 1]; //Converts item type in case of pet eggs. -inline int itemtype(int type) +static inline int itemtype(int type) { return ( type == IT_PETEGG ) ? IT_WEAPON : type; } -- cgit v1.2.3-70-g09d2