Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/BKE_multires.h4
-rw-r--r--source/blender/blenkernel/BKE_particle.h4
-rw-r--r--source/blender/blenkernel/BKE_subdiv.h4
-rw-r--r--source/blender/blenlib/BLI_endian_switch_inline.h6
-rw-r--r--source/blender/editors/include/UI_resources.h4
-rw-r--r--source/blender/makesrna/RNA_types.h5
6 files changed, 13 insertions, 14 deletions
diff --git a/source/blender/blenkernel/BKE_multires.h b/source/blender/blenkernel/BKE_multires.h
index 190ee9e7270..bc01cc6b45c 100644
--- a/source/blender/blenkernel/BKE_multires.h
+++ b/source/blender/blenkernel/BKE_multires.h
@@ -163,6 +163,6 @@ BLI_INLINE void BKE_multires_construct_tangent_matrix(
const float dPdv[3],
const int corner);
-#endif /* __BKE_MULTIRES_H__ */
-
#include "intern/multires_inline.h"
+
+#endif /* __BKE_MULTIRES_H__ */
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h
index 5a1241f1de2..ee8612c3d7b 100644
--- a/source/blender/blenkernel/BKE_particle.h
+++ b/source/blender/blenkernel/BKE_particle.h
@@ -483,11 +483,11 @@ void BKE_particle_settings_eval_reset(
void BKE_particle_system_eval_init(struct Depsgraph *depsgraph,
struct Object *object);
-#endif
-
/* Draw Cache */
enum {
BKE_PARTICLE_BATCH_DIRTY_ALL = 0,
};
void BKE_particle_batch_cache_dirty_tag(struct ParticleSystem *psys, int mode);
void BKE_particle_batch_cache_free(struct ParticleSystem *psys);
+
+#endif /* __BKE_PARTICLE_H__ */
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index 70572d30819..352581c99d6 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -232,6 +232,6 @@ BLI_INLINE int BKE_subdiv_rotate_quad_to_corner(
const float u, const float v,
float *r_u, float *r_v);
-#endif /* __BKE_SUBDIV_H__ */
-
#include "intern/subdiv_inline.h"
+
+#endif /* __BKE_SUBDIV_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
*/
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h
index 92871484e66..d686594f334 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -29,11 +29,11 @@
* \ingroup editorui
*/
-#include "BLI_sys_types.h"
-
#ifndef __UI_RESOURCES_H__
#define __UI_RESOURCES_H__
+#include "BLI_sys_types.h"
+
/* Define icon enum. */
#define DEF_ICON(name) ICON_##name,
#define DEF_ICON_VECTOR(name) ICON_##name,
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 72e1c05de3c..2c1bd2069b0 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -24,12 +24,11 @@
* \ingroup RNA
*/
-
-#include "../blenlib/BLI_sys_types.h"
-
#ifndef __RNA_TYPES_H__
#define __RNA_TYPES_H__
+#include "../blenlib/BLI_sys_types.h"
+
#ifdef __cplusplus
extern "C" {
#endif