diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-10 00:46:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-10 00:46:38 +0300 |
commit | 5681631109852d1037cddafd60f39552f8ba3bbf (patch) | |
tree | 95fa7f3db88c7e3f52c42c8adeefe62a756ea9e0 /intern/ghost | |
parent | 69c8f0cc3b31301adc2a301f05e5bdb2c5916d08 (diff) |
Cleanup: ensure header guards come first
Causes clang-format not to detect header guards,
indenting all preprocessor lines in the header.
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_EventNDOF.h | 7 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManager.h | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_EventNDOF.h b/intern/ghost/intern/GHOST_EventNDOF.h index b81f74becee..a7a7639c98e 100644 --- a/intern/ghost/intern/GHOST_EventNDOF.h +++ b/intern/ghost/intern/GHOST_EventNDOF.h @@ -24,16 +24,15 @@ * \ingroup GHOST */ +#ifndef __GHOST_EVENTNDOF_H__ +#define __GHOST_EVENTNDOF_H__ + #ifndef WITH_INPUT_NDOF # error NDOF code included in non-NDOF-enabled build #endif -#ifndef __GHOST_EVENTNDOF_H__ -#define __GHOST_EVENTNDOF_H__ - #include "GHOST_Event.h" - class GHOST_EventNDOFMotion : public GHOST_Event { protected: diff --git a/intern/ghost/intern/GHOST_NDOFManager.h b/intern/ghost/intern/GHOST_NDOFManager.h index 78f24e07a6e..b23673940e6 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.h +++ b/intern/ghost/intern/GHOST_NDOFManager.h @@ -21,16 +21,15 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef __GHOST_NDOFMANAGER_H__ +#define __GHOST_NDOFMANAGER_H__ + #ifndef WITH_INPUT_NDOF # error NDOF code included in non-NDOF-enabled build #endif -#ifndef __GHOST_NDOFMANAGER_H__ -#define __GHOST_NDOFMANAGER_H__ - #include "GHOST_System.h" - // #define DEBUG_NDOF_MOTION // #define DEBUG_NDOF_BUTTONS |