diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-20 03:17:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-20 03:17:52 +0400 |
commit | d6b21df2e61318c3465272c9055be4451060d94c (patch) | |
tree | db3d53384b93483a447050bcb478b3593c3a32ab /source/blender/blenlib | |
parent | 1d936a107447ad70b5ee413b7b3be5e7947d9c62 (diff) |
correct include guards and add checks in check_style_c.py for them.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_alloca.h | 1 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_convexhull2d.h | 6 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_math_interp.h | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/blenlib/BLI_alloca.h b/source/blender/blenlib/BLI_alloca.h index b93f5b7123e..06c3e8d8996 100644 --- a/source/blender/blenlib/BLI_alloca.h +++ b/source/blender/blenlib/BLI_alloca.h @@ -19,6 +19,7 @@ */ #ifndef __BLI_ALLOCA_H__ +#define __BLI_ALLOCA_H__ /** \file BLI_alloca.h * \ingroup bli diff --git a/source/blender/blenlib/BLI_convexhull2d.h b/source/blender/blenlib/BLI_convexhull2d.h index 3f0787b37b1..4b82071ede8 100644 --- a/source/blender/blenlib/BLI_convexhull2d.h +++ b/source/blender/blenlib/BLI_convexhull2d.h @@ -18,8 +18,8 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef __BLI_CONVEXHULL2D__ -#define __BLI_CONVEXHULL2D__ +#ifndef __BLI_CONVEXHULL2D_H__ +#define __BLI_CONVEXHULL2D_H__ /** \file BLI_convexhull2d.h * \ingroup bli @@ -31,4 +31,4 @@ int BLI_convexhull_2d(const float (*points)[2], const int n, int r_points[]); float BLI_convexhull_aabb_fit_hull_2d(const float (*points_hull)[2], unsigned int n); float BLI_convexhull_aabb_fit_points_2d(const float (*points)[2], unsigned int n); -#endif /* __BLI_CONVEXHULL2D__ */ +#endif /* __BLI_CONVEXHULL2D_H__ */ diff --git a/source/blender/blenlib/BLI_math_interp.h b/source/blender/blenlib/BLI_math_interp.h index c38c61a288f..43ef64214ad 100644 --- a/source/blender/blenlib/BLI_math_interp.h +++ b/source/blender/blenlib/BLI_math_interp.h @@ -26,8 +26,8 @@ * */ -#ifndef __BLI_MATH_INTERP__ -#define __BLI_MATH_INTERP__ +#ifndef __BLI_MATH_INTERP_H__ +#define __BLI_MATH_INTERP_H__ /** \file BLI_math_interp.h * \ingroup bli @@ -45,4 +45,4 @@ void BLI_bilinear_interpolation_fl(const float *buffer, float *output, int width void BLI_bilinear_interpolation_char(const unsigned char *buffer, unsigned char *output, int width, int height, int components, float u, float v); -#endif /* __BLI_MATH_INTERP__ */ +#endif /* __BLI_MATH_INTERP_H__ */ |