From b52127bcbf817ff8285b36d22198b275327e16bb Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 16 Dec 2012 17:47:51 -0800 Subject: Cleanup headers and remove all uses of va_list except logging --- src/map/intif.cpp | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) (limited to 'src/map/intif.cpp') diff --git a/src/map/intif.cpp b/src/map/intif.cpp index b8d21f3..0107155 100644 --- a/src/map/intif.cpp +++ b/src/map/intif.cpp @@ -1,22 +1,19 @@ -// $Id: intif.c,v 1.2 2004/09/25 05:32:18 MouseJstr Exp $ -#include -#ifdef LCCWIN32 -#include -#else -#include +#include "intif.hpp" + +#include #include -#endif -#include -#include -#ifndef LCCWIN32 -#include #include -#include -#include -#endif -#include +#include +#include +#include + #include -#include +#include + +#include +#include +#include +#include #include "../common/nullpo.hpp" #include "../common/socket.hpp" @@ -25,17 +22,13 @@ #include "battle.hpp" #include "chrif.hpp" #include "clif.hpp" -#include "intif.hpp" #include "map.hpp" #include "party.hpp" #include "pc.hpp" #include "storage.hpp" -#ifdef MEMWATCH -#include "memwatch.hpp" -#endif - -static const int packet_len_table[] = { +static +const int packet_len_table[] = { -1, -1, 27, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 7, 0, 0, 0, 0, 0, 0, -1, 11, 0, 0, 0, 0, 0, 0, 35, -1, 11, 15, 34, 29, 7, -1, 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.3-60-g2f50