[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45972] trunk/blender/source/blender/ editors/space_outliner: removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
Campbell Barton
ideasman42 at gmail.com
Thu Apr 26 06:15:31 CEST 2012
Revision: 45972
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45972
Author: campbellbarton
Date: 2012-04-26 04:15:27 +0000 (Thu, 26 Apr 2012)
Log Message:
-----------
removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_outliner/outliner_edit.c
trunk/blender/source/blender/editors/space_outliner/outliner_select.c
trunk/blender/source/blender/editors/space_outliner/outliner_tools.c
trunk/blender/source/blender/editors/space_outliner/outliner_tree.c
Modified: trunk/blender/source/blender/editors/space_outliner/outliner_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_edit.c 2012-04-26 04:03:25 UTC (rev 45971)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_edit.c 2012-04-26 04:15:27 UTC (rev 45972)
@@ -29,6 +29,8 @@
* \ingroup spoutliner
*/
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
#include <math.h>
#include <string.h>
#include <stdlib.h>
@@ -56,15 +58,6 @@
#include "BLI_utildefines.h"
#include "BLI_math_base.h"
-#if defined WIN32 && !defined _LIBC
-# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */
-#else
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-# include <fnmatch.h>
-#endif
-
#include "BLF_translation.h"
#include "BKE_animsys.h"
Modified: trunk/blender/source/blender/editors/space_outliner/outliner_select.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_select.c 2012-04-26 04:03:25 UTC (rev 45971)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_select.c 2012-04-26 04:15:27 UTC (rev 45972)
@@ -29,6 +29,8 @@
* \ingroup spoutliner
*/
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
#include <math.h>
#include <string.h>
#include <stdlib.h>
@@ -56,16 +58,6 @@
#include "BLI_utildefines.h"
#include "BLI_math_base.h"
-#if defined WIN32 && !defined _LIBC
-# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */
-#else
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-# include <fnmatch.h>
-#endif
-
-
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_deform.h"
Modified: trunk/blender/source/blender/editors/space_outliner/outliner_tools.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_tools.c 2012-04-26 04:03:25 UTC (rev 45971)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_tools.c 2012-04-26 04:15:27 UTC (rev 45972)
@@ -29,6 +29,8 @@
* \ingroup spoutliner
*/
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
#include <math.h>
#include <string.h>
#include <stdlib.h>
@@ -56,16 +58,6 @@
#include "BLI_utildefines.h"
#include "BLI_math_base.h"
-#if defined WIN32 && !defined _LIBC
-# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */
-#else
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-# include <fnmatch.h>
-#endif
-
-
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_deform.h"
Modified: trunk/blender/source/blender/editors/space_outliner/outliner_tree.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_tree.c 2012-04-26 04:03:25 UTC (rev 45971)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_tree.c 2012-04-26 04:15:27 UTC (rev 45972)
@@ -34,6 +34,15 @@
#include <stdlib.h>
#include <stddef.h>
+#if defined WIN32 && !defined _LIBC || defined __sun
+# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */
+#else
+# ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+# endif
+# include <fnmatch.h>
+#endif
+
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
@@ -57,16 +66,6 @@
#include "BLI_utildefines.h"
#include "BLI_math_base.h"
-#if defined WIN32 && !defined _LIBC || defined __sun
-# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */
-#else
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-# include <fnmatch.h>
-#endif
-
-
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_deform.h"
More information about the Bf-blender-cvs
mailing list