From dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Fri, 23 Feb 2018 22:36:25 +0100 Subject: guard headers --- src/core/stdautoaway/src/stdafx.h | 2 ++ src/core/stdaway/src/stdafx.h | 2 ++ src/core/stdclist/src/clc.h | 2 ++ src/core/stdclist/src/stdafx.h | 2 ++ src/core/stdcrypt/src/stdafx.h | 2 ++ src/core/stdcrypt/src/stdcrypt.h | 2 ++ src/core/stdemail/src/stdafx.h | 2 ++ src/core/stdfile/src/file.h | 2 ++ src/core/stdfile/src/stdafx.h | 2 ++ src/core/stdidle/src/stdafx.h | 2 ++ src/core/stdmsg/src/stdafx.h | 2 ++ src/core/stdssl/src/stdafx.h | 3 +++ src/core/stduihist/src/stdafx.h | 2 ++ src/core/stduserinfo/src/stdafx.h | 2 ++ src/core/stduseronline/src/stdafx.h | 2 ++ 15 files changed, 31 insertions(+) (limited to 'src/core') diff --git a/src/core/stdautoaway/src/stdafx.h b/src/core/stdautoaway/src/stdafx.h index 535e0ae463..da5fa9a4da 100644 --- a/src/core/stdautoaway/src/stdafx.h +++ b/src/core/stdautoaway/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdaway/src/stdafx.h b/src/core/stdaway/src/stdafx.h index 466a47e463..54b57da457 100644 --- a/src/core/stdaway/src/stdafx.h +++ b/src/core/stdaway/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdclist/src/clc.h b/src/core/stdclist/src/clc.h index 6015173f9d..67a0ad228c 100644 --- a/src/core/stdclist/src/clc.h +++ b/src/core/stdclist/src/clc.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #define FONTID_LAST 7 int CompareContacts(const ClcContact *contact1, const ClcContact *contact2); diff --git a/src/core/stdclist/src/stdafx.h b/src/core/stdclist/src/stdafx.h index e484fd22ae..5d0bcd3360 100644 --- a/src/core/stdclist/src/stdafx.h +++ b/src/core/stdclist/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdcrypt/src/stdafx.h b/src/core/stdcrypt/src/stdafx.h index 85daa18616..698d769a89 100644 --- a/src/core/stdcrypt/src/stdafx.h +++ b/src/core/stdcrypt/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdcrypt/src/stdcrypt.h b/src/core/stdcrypt/src/stdcrypt.h index 12efc7b0f5..d2f0990356 100644 --- a/src/core/stdcrypt/src/stdcrypt.h +++ b/src/core/stdcrypt/src/stdcrypt.h @@ -18,6 +18,8 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#pragma once + #include "Rijndael.h" // we use 256-bit keys & 128-bit blocks diff --git a/src/core/stdemail/src/stdafx.h b/src/core/stdemail/src/stdafx.h index 576bd9482d..dc1c4cebfd 100644 --- a/src/core/stdemail/src/stdafx.h +++ b/src/core/stdemail/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdfile/src/file.h b/src/core/stdfile/src/file.h index 96754c0ab8..9a1bd89bcf 100644 --- a/src/core/stdfile/src/file.h +++ b/src/core/stdfile/src/file.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #define VIRUSSCAN_DISABLE 0 #define VIRUSSCAN_AFTERDL 1 #define VIRUSSCAN_DURINGDL 2 diff --git a/src/core/stdfile/src/stdafx.h b/src/core/stdfile/src/stdafx.h index 1611c05c00..f5cfa9be8e 100644 --- a/src/core/stdfile/src/stdafx.h +++ b/src/core/stdfile/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdidle/src/stdafx.h b/src/core/stdidle/src/stdafx.h index 6d7f50aead..7da47bc366 100644 --- a/src/core/stdidle/src/stdafx.h +++ b/src/core/stdidle/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 1487d29391..538795fe35 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -19,6 +19,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #define WIN32_LEAN_AND_MEAN #include diff --git a/src/core/stdssl/src/stdafx.h b/src/core/stdssl/src/stdafx.h index c9699184e4..93cb948195 100644 --- a/src/core/stdssl/src/stdafx.h +++ b/src/core/stdssl/src/stdafx.h @@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#pragma once + #define SECURITY_WIN32 #define HSSL_DEFINED diff --git a/src/core/stduihist/src/stdafx.h b/src/core/stduihist/src/stdafx.h index ad789c95e6..3649a843fc 100644 --- a/src/core/stduihist/src/stdafx.h +++ b/src/core/stduihist/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stduserinfo/src/stdafx.h b/src/core/stduserinfo/src/stdafx.h index 5851f96df8..5e4f607a0b 100644 --- a/src/core/stduserinfo/src/stdafx.h +++ b/src/core/stduserinfo/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include diff --git a/src/core/stduseronline/src/stdafx.h b/src/core/stduseronline/src/stdafx.h index 8f7073939f..f47894dc8e 100644 --- a/src/core/stduseronline/src/stdafx.h +++ b/src/core/stduseronline/src/stdafx.h @@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#pragma once + #include #include #include -- cgit v1.2.3