From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- src/login/fwd.hpp | 7 ++----- src/login/login.hpp | 9 +++------ src/login/login.t.hpp | 11 ++++------- 3 files changed, 9 insertions(+), 18 deletions(-) (limited to 'src/login') diff --git a/src/login/fwd.hpp b/src/login/fwd.hpp index ef0b6af..94fe3c0 100644 --- a/src/login/fwd.hpp +++ b/src/login/fwd.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_LOGIN_FWD_HPP -#define TMWA_LOGIN_FWD_HPP +#pragma once // login/fwd.hpp - list of type names for login server // // Copyright © 2014 Ben Longbons @@ -19,12 +18,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "../sanity.hpp" +#include "../sanity.hpp" namespace tmwa { // meh, add more when I feel like it } // namespace tmwa - -#endif // TMWA_LOGIN_FWD_HPP diff --git a/src/login/login.hpp b/src/login/login.hpp index e713d44..92f3c76 100644 --- a/src/login/login.hpp +++ b/src/login/login.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_LOGIN_LOGIN_HPP -#define TMWA_LOGIN_LOGIN_HPP +#pragma once // login.hpp - dummy header to make Make dependencies work. // // Copyright © 2013 Ben Longbons @@ -19,13 +18,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "fwd.hpp" +#include "fwd.hpp" -# include "login.t.hpp" +#include "login.t.hpp" namespace tmwa { } // namespace tmwa - -#endif // TMWA_LOGIN_LOGIN_HPP diff --git a/src/login/login.t.hpp b/src/login/login.t.hpp index 6de5c98..f2c775a 100644 --- a/src/login/login.t.hpp +++ b/src/login/login.t.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_LOGIN_LOGIN_T_HPP -#define TMWA_LOGIN_LOGIN_T_HPP +#pragma once // login.t.hpp - externally useful types from login // // Copyright © ????-2004 Athena Dev Teams @@ -21,11 +20,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "fwd.hpp" +#include "fwd.hpp" -# include +#include -# include "../generic/enum.hpp" +#include "../generic/enum.hpp" namespace tmwa @@ -43,5 +42,3 @@ ENUM_BITWISE_OPERATORS(VERSION_2) } using e::VERSION_2; } // namespace tmwa - -#endif // TMWA_LOGIN_LOGIN_T_HPP -- cgit v1.2.3-60-g2f50