diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-21 21:50:36 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-01 12:36:51 -0800 |
commit | 90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee (patch) | |
tree | 42667ee8211853727c14645c05280e2500a7a994 /src/map/chrif.cpp | |
parent | b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c (diff) | |
download | tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.gz tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.bz2 tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.tar.xz tmwa-90f2d2aeffdb345e9fdfc5c3e56fffa71281f2ee.zip |
Remove unnecessary includes, speeding up recompilation
Diffstat (limited to 'src/map/chrif.cpp')
-rw-r--r-- | src/map/chrif.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
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 <arpa/inet.h> -#include <netinet/in.h> -#include <sys/socket.h> -#include <sys/types.h> -#include <unistd.h> - -#include <cstdio> -#include <cstdlib> #include <cstring> -#include <ctime> #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; } |