From cb1a1603e744fd5b7925171b4798b7045b563f63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Sep 2015 00:31:47 +0300 Subject: Change extension in some internals includes from h to inc. --- src/net/eathena/network.cpp | 2 +- src/net/eathena/recvpackets.h | 28 ---------------------------- src/net/eathena/recvpackets.inc | 28 ++++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 src/net/eathena/recvpackets.h create mode 100644 src/net/eathena/recvpackets.inc (limited to 'src/net/eathena') diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp index 83dfb0796..ed6f6f1f7 100644 --- a/src/net/eathena/network.cpp +++ b/src/net/eathena/network.cpp @@ -50,7 +50,7 @@ Network::Network() : mInstance = this; memset(&mMessageHandlers[0], 0, sizeof(MessageHandler*) * 0xffff); mPackets = new PacketInfo[messagesSize]; -#include "net/eathena/recvpackets.h" +#include "net/eathena/recvpackets.inc" } Network::~Network() diff --git a/src/net/eathena/recvpackets.h b/src/net/eathena/recvpackets.h deleted file mode 100644 index e14b1252b..000000000 --- a/src/net/eathena/recvpackets.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef NET_EATHENA_RECVPACKETS_H -#define NET_EATHENA_RECVPACKETS_H - -#include "net/recvpacketdefine.h" - -#include "net/eathena/packets.inc" - -#endif // NET_EATHENA_RECVPACKETS_H diff --git a/src/net/eathena/recvpackets.inc b/src/net/eathena/recvpackets.inc new file mode 100644 index 000000000..e14b1252b --- /dev/null +++ b/src/net/eathena/recvpackets.inc @@ -0,0 +1,28 @@ +/* + * The ManaPlus Client + * Copyright (C) 2015 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef NET_EATHENA_RECVPACKETS_H +#define NET_EATHENA_RECVPACKETS_H + +#include "net/recvpacketdefine.h" + +#include "net/eathena/packets.inc" + +#endif // NET_EATHENA_RECVPACKETS_H -- cgit v1.2.3-70-g09d2