From e6f0318bdfa49bde503742c856c8415f9b2c8018 Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 13 Apr 2011 20:22:10 +0200 Subject: added "fixed some header guards and added a script to fix them all!" by Choupom --- src/base/detect.h | 4 ++-- src/base/tl/algorithm.h | 4 ++-- src/base/tl/allocator.h | 4 ++-- src/base/tl/array.h | 4 ++-- src/base/tl/base.h | 4 ++-- src/base/tl/range.h | 4 ++-- src/base/tl/sorted_array.h | 4 ++-- src/base/tl/string.h | 4 ++-- src/engine/shared/config.h | 4 ++-- src/engine/shared/config_variables.h | 6 +++--- 10 files changed, 21 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/base/detect.h b/src/base/detect.h index ca2efb9c..534339dd 100644 --- a/src/base/detect.h +++ b/src/base/detect.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef BASELIB_FILE_CONFIG_H -#define BASELIB_FILE_CONFIG_H +#ifndef BASE_DETECT_H +#define BASE_DETECT_H /* this file detected the family, platform and architecture diff --git a/src/base/tl/algorithm.h b/src/base/tl/algorithm.h index 4a165db0..c5cd74c3 100644 --- a/src/base/tl/algorithm.h +++ b/src/base/tl/algorithm.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_ALGORITHM_HPP -#define TL_FILE_ALGORITHM_HPP +#ifndef BASE_TL_ALGORITHM_H +#define BASE_TL_ALGORITHM_H #include "range.h" diff --git a/src/base/tl/allocator.h b/src/base/tl/allocator.h index f6d8fc34..d12347e3 100644 --- a/src/base/tl/allocator.h +++ b/src/base/tl/allocator.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_ALLOCATOR_HPP -#define TL_FILE_ALLOCATOR_HPP +#ifndef BASE_TL_ALLOCATOR_H +#define BASE_TL_ALLOCATOR_H template class allocator_default diff --git a/src/base/tl/array.h b/src/base/tl/array.h index 6aff3c71..0cee2afc 100644 --- a/src/base/tl/array.h +++ b/src/base/tl/array.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_ARRAY_HPP -#define TL_FILE_ARRAY_HPP +#ifndef BASE_TL_ARRAY_H +#define BASE_TL_ARRAY_H #include "range.h" #include "allocator.h" diff --git a/src/base/tl/base.h b/src/base/tl/base.h index 59951c68..2fcb14eb 100644 --- a/src/base/tl/base.h +++ b/src/base/tl/base.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_BASE_HPP -#define TL_FILE_BASE_HPP +#ifndef BASE_TL_BASE_H +#define BASE_TL_BASE_H #include diff --git a/src/base/tl/range.h b/src/base/tl/range.h index 3c1c89f3..25047d31 100644 --- a/src/base/tl/range.h +++ b/src/base/tl/range.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_RANGE_HPP -#define TL_FILE_RANGE_HPP +#ifndef BASE_TL_RANGE_H +#define BASE_TL_RANGE_H #include "base.h" diff --git a/src/base/tl/sorted_array.h b/src/base/tl/sorted_array.h index 7c45cf28..94ccd543 100644 --- a/src/base/tl/sorted_array.h +++ b/src/base/tl/sorted_array.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_SORTED_ARRAY_HPP -#define TL_FILE_SORTED_ARRAY_HPP +#ifndef BASE_TL_SORTED_ARRAY_H +#define BASE_TL_SORTED_ARRAY_H #include "algorithm.h" #include "array.h" diff --git a/src/base/tl/string.h b/src/base/tl/string.h index 96c2dc66..18fab4d4 100644 --- a/src/base/tl/string.h +++ b/src/base/tl/string.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef TL_FILE_STRING_HPP -#define TL_FILE_STRING_HPP +#ifndef BASE_TL_STRING_H +#define BASE_TL_STRING_H #include "base.h" #include "allocator.h" diff --git a/src/engine/shared/config.h b/src/engine/shared/config.h index 4720ddb3..9a524d22 100644 --- a/src/engine/shared/config.h +++ b/src/engine/shared/config.h @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef ENGINE_SHARED_E_CONFIG_H -#define ENGINE_SHARED_E_CONFIG_H +#ifndef ENGINE_SHARED_CONFIG_H +#define ENGINE_SHARED_CONFIG_H struct CConfiguration { diff --git a/src/engine/shared/config_variables.h b/src/engine/shared/config_variables.h index 85749405..8dec2102 100644 --- a/src/engine/shared/config_variables.h +++ b/src/engine/shared/config_variables.h @@ -1,8 +1,8 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef ENGINE_SHARED_E_CONFIG_VARIABLES_H -#define ENGINE_SHARED_E_CONFIG_VARIABLES_H -#undef ENGINE_SHARED_E_CONFIG_VARIABLES_H // this file will be included several times +#ifndef ENGINE_SHARED_CONFIG_VARIABLES_H +#define ENGINE_SHARED_CONFIG_VARIABLES_H +#undef ENGINE_SHARED_CONFIG_VARIABLES_H // this file will be included several times // TODO: remove this #include "././game/variables.h" -- cgit 1.4.1