From 5681631109852d1037cddafd60f39552f8ba3bbf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Jan 2019 08:46:38 +1100 Subject: Cleanup: ensure header guards come first Causes clang-format not to detect header guards, indenting all preprocessor lines in the header. --- source/blender/blenlib/BLI_endian_switch_inline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/BLI_endian_switch_inline.h') diff --git a/source/blender/blenlib/BLI_endian_switch_inline.h b/source/blender/blenlib/BLI_endian_switch_inline.h index 280503e9b93..2be76e67b37 100644 --- a/source/blender/blenlib/BLI_endian_switch_inline.h +++ b/source/blender/blenlib/BLI_endian_switch_inline.h @@ -20,14 +20,14 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef __BLI_ENDIAN_SWITCH_INLINE_H__ +#define __BLI_ENDIAN_SWITCH_INLINE_H__ + /* only include from header */ #ifndef __BLI_ENDIAN_SWITCH_H__ # error "this file isnt to be directly included" #endif -#ifndef __BLI_ENDIAN_SWITCH_INLINE_H__ -#define __BLI_ENDIAN_SWITCH_INLINE_H__ - /** \file blender/blenlib/BLI_endian_switch_inline.h * \ingroup bli */ -- cgit v1.2.3