diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-26 08:15:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-26 08:15:27 +0400 |
commit | bd7d3c5e9db2af90b81b3506c616f66e72e85e03 (patch) | |
tree | e0681738c29f64d068827d22298c29849646cdf2 /source/blender | |
parent | af7eb3f2106612543e1e0a22e639fdfde3035dc8 (diff) |
removed unneeded fnmatch include from outliner, comment files as needing header cleanup.
Diffstat (limited to 'source/blender')
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" |