[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59304] trunk/blender: code cleanup: confirm include guards to our convention

Campbell Barton ideasman42 at gmail.com
Mon Aug 19 16:40:16 CEST 2013


Revision: 59304
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59304
Author:   campbellbarton
Date:     2013-08-19 14:40:16 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
code cleanup: confirm include guards to our convention

Modified Paths:
--------------
    trunk/blender/intern/atomic/atomic_ops.h
    trunk/blender/source/blender/blenlib/BLI_math_interp.h
    trunk/blender/source/blender/imbuf/intern/IMB_colormanagement_intern.h

Modified: trunk/blender/intern/atomic/atomic_ops.h
===================================================================
--- trunk/blender/intern/atomic/atomic_ops.h	2013-08-19 14:27:48 UTC (rev 59303)
+++ trunk/blender/intern/atomic/atomic_ops.h	2013-08-19 14:40:16 UTC (rev 59304)
@@ -26,8 +26,8 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ATOMIC_OPS_H__
-#define ATOMIC_OPS_H__
+#ifndef __ATOMIC_OPS_H__
+#define __ATOMIC_OPS_H__
 
 #include <assert.h>
 
@@ -304,4 +304,4 @@
 #endif
 }
 
-#endif /* ATOMIC_OPS_H__ */
+#endif /* __ATOMIC_OPS_H__ */

Modified: trunk/blender/source/blender/blenlib/BLI_math_interp.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_math_interp.h	2013-08-19 14:27:48 UTC (rev 59303)
+++ trunk/blender/source/blender/blenlib/BLI_math_interp.h	2013-08-19 14:40:16 UTC (rev 59304)
@@ -26,8 +26,8 @@
  *
  */
 
-#ifndef BLI_MATH_INTERP
-#define BLI_MATH_INTERP
+#ifndef __BLI_MATH_INTERP__
+#define __BLI_MATH_INTERP__
 
 void BLI_bicubic_interpolation_fl(const float *buffer, float *output, int width, int height,
                                   int components, float u, float v);
@@ -41,4 +41,4 @@
 void BLI_bilinear_interpolation_char(const unsigned char *buffer, unsigned char *output, int width, int height,
                                      int components, float u, float v);
 
-#endif
+#endif  /* __BLI_MATH_INTERP__ */

Modified: trunk/blender/source/blender/imbuf/intern/IMB_colormanagement_intern.h
===================================================================
--- trunk/blender/source/blender/imbuf/intern/IMB_colormanagement_intern.h	2013-08-19 14:27:48 UTC (rev 59303)
+++ trunk/blender/source/blender/imbuf/intern/IMB_colormanagement_intern.h	2013-08-19 14:40:16 UTC (rev 59304)
@@ -28,8 +28,8 @@
  *
  */
 
-#ifndef IMB_COLORMANAGEMENT_INTERN_H
-#define IMB_COLORMANAGEMENT_INTERN_H
+#ifndef __IMB_COLORMANAGEMENT_INTERN_H__
+#define __IMB_COLORMANAGEMENT_INTERN_H__
 
 #include "DNA_listBase.h"
 
@@ -97,4 +97,4 @@
 void colormanage_imbuf_set_default_spaces(struct ImBuf *ibuf);
 void colormanage_imbuf_make_linear(struct ImBuf *ibuf, const char *from_colorspace);
 
-#endif  /* IMB_COLORMANAGEMENT_INTERN_H */
+#endif  /* __IMB_COLORMANAGEMENT_INTERN_H__ */




More information about the Bf-blender-cvs mailing list