Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-26 08:15:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-26 08:15:27 +0400
commitbd7d3c5e9db2af90b81b3506c616f66e72e85e03 (patch)
treee0681738c29f64d068827d22298c29849646cdf2 /source/blender/editors
parentaf7eb3f2106612543e1e0a22e639fdfde3035dc8 (diff)
removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c11
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c12
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c12
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c19
4 files changed, 15 insertions, 39 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index 981c4a5d867..4c1c6b15042 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -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"
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index c7aa4dc4e92..5594f22fc91 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -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"
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index ba3637a88af..3a8f8c54d05 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -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"
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index e83fce0cf05..83c2bdaf347 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -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"