From 90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 21 Jan 2013 21:50:36 -0800 Subject: Remove unnecessary includes, speeding up recompilation --- src/map/chrif.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/map/chrif.cpp') diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 1f70a02..018c659 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -1,21 +1,13 @@ #include "chrif.hpp" #include -#include -#include -#include -#include - -#include -#include #include -#include #include "../common/cxxstdio.hpp" #include "../common/nullpo.hpp" #include "../common/socket.hpp" -#include "../common/timer.hpp" +#include "../common/utils.hpp" #include "battle.hpp" #include "clif.hpp" @@ -24,6 +16,7 @@ #include "map.hpp" #include "npc.hpp" #include "pc.hpp" +#include "storage.hpp" #include "../poison.hpp" @@ -1056,7 +1049,6 @@ void chrif_parse(int fd) fd); char_fd = -1; } - close(fd); delete_session(fd); return; } -- cgit v1.2.3-60-g2f50