From fc2b966fc7235a99d73e9d40736adf70f86ce506 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 29 Nov 2019 11:42:18 +0100 Subject: Refactor: Add C++ guard code to headers C++ is used more and more, and it is becoming more and more annoying to keep track of whether header have C++ guard or not. Is easier and more clear to be consistent in all headers and have such guards in all headers. --- source/blender/blenkernel/BKE_action.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'source/blender/blenkernel/BKE_action.h') diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index b7139d5bbf6..fdfea95937b 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -25,6 +25,10 @@ * \brief Blender kernel action and pose functionality. */ +#ifdef __cplusplus +extern "C" { +#endif + #include "DNA_listBase.h" /* The following structures are defined in DNA_action_types.h, and DNA_anim_types.h */ @@ -38,11 +42,6 @@ struct bPose; struct bPoseChannel; struct bPoseChannel_Runtime; -/* Kernel prototypes */ -#ifdef __cplusplus -extern "C" { -#endif - /* Action Lib Stuff ----------------- */ /* Allocate a new bAction with the given name */ -- cgit v1.2.3