removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 26 Apr 2012 04:15:27 +0000 (04:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 26 Apr 2012 04:15:27 +0000 (04:15 +0000)
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/outliner_select.c
source/blender/editors/space_outliner/outliner_tools.c
source/blender/editors/space_outliner/outliner_tree.c

index 981c4a5..4c1c6b1 100644 (file)
@@ -29,6 +29,8 @@
  *  \ingroup spoutliner
  */
 
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
 #include <math.h>
 #include <string.h>
 #include <stdlib.h>
 #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"
index c7aa4dc..5594f22 100644 (file)
@@ -29,6 +29,8 @@
  *  \ingroup spoutliner
  */
 
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
 #include <math.h>
 #include <string.h>
 #include <stdlib.h>
 #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"
index ba3637a..3a8f8c5 100644 (file)
@@ -29,6 +29,8 @@
  *  \ingroup spoutliner
  */
 
+/* TODO - HEADER CLEANUP - many of these are copy-pasted */
+
 #include <math.h>
 #include <string.h>
 #include <stdlib.h>
 #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"
index e83fce0..83c2bda 100644 (file)
 #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"
 #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"