diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-01 23:36:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-01 23:37:11 +0400 |
commit | d303556afb7073d11794ecb2d8ceeea24918a91d (patch) | |
tree | 46a452b2b7fc3d84970f4c5e9f1368c8aa171a22 /source/blender | |
parent | 3db5430b921b243ba298d0ea7a4df9b355fb15b8 (diff) |
Code cleanup: remove file handling headers where they arent needed
Diffstat (limited to 'source/blender')
13 files changed, 0 insertions, 87 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index b343f5e6091..1e7b0d343ba 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -34,12 +34,6 @@ #include <stdio.h> #include <string.h> -#ifndef WIN32 -# include <unistd.h> -#else -# include <io.h> -#endif - #include "MEM_guardedalloc.h" #include "DNA_anim_types.h" diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index eec728bac7a..5c448effcd5 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -34,12 +34,6 @@ #include <wchar.h> #include <errno.h> -#ifndef WIN32 -# include <unistd.h> -#else -# include <io.h> -#endif - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index f951b16d668..546b2b85af5 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -27,19 +27,10 @@ * \ingroup edinterface */ - #include <math.h> #include <stdlib.h> #include <string.h> -#ifndef WIN32 -# include <unistd.h> -#else -# include <io.h> -# include <direct.h> -# include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "GPU_extensions.h" diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index 7a415c8c5cd..e8371d7666b 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -45,7 +45,6 @@ # include <unistd.h> # include <sys/times.h> # include <dirent.h> -# include <unistd.h> #endif #include "DNA_space_types.h" diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index 447e0cd3537..83f87ebc174 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -32,13 +32,6 @@ #include <string.h> #include <float.h> -#ifndef _WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif - - #include "BLI_blenlib.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c index 4ade067827a..edae81a9165 100644 --- a/source/blender/editors/space_sequencer/sequencer_add.c +++ b/source/blender/editors/space_sequencer/sequencer_add.c @@ -27,18 +27,10 @@ * \ingroup spseq */ - #include <stdlib.h> #include <math.h> #include <string.h> -#ifndef WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif -#include <sys/types.h> - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index af1a23d39bb..50efa881b39 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -32,13 +32,6 @@ #include <math.h> #include <string.h> -#ifndef WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif -#include <sys/types.h> - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index 7d7a81a7bff..9826ef10902 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -32,13 +32,6 @@ #include <math.h> #include <string.h> -#ifndef WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif -#include <sys/types.h> - #include "BLI_blenlib.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c index aaeea40c1a5..b1d57f5a75e 100644 --- a/source/blender/editors/space_text/text_header.c +++ b/source/blender/editors/space_text/text_header.c @@ -28,14 +28,6 @@ * \ingroup sptext */ - - -/* file time checking */ - -#ifndef _WIN32 -#else -#endif - #include "DNA_windowmanager_types.h" #include "MEM_guardedalloc.h" @@ -51,10 +43,6 @@ #include "WM_types.h" -#ifdef WITH_PYTHON -// XXX #include "BPY_menus.h" -#endif - #include "text_intern.h" /* ************************ header area region *********************** */ diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 2cd8b2011a8..7cdc329cdc6 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -35,12 +35,6 @@ #include <math.h> #include <float.h> -#ifndef WIN32 -# include <unistd.h> -#else -# include <io.h> -#endif - #include "MEM_guardedalloc.h" #include "DNA_anim_types.h" diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 749c45e316b..79f266df607 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -34,12 +34,6 @@ #include <string.h> #include <math.h> -#ifndef WIN32 -# include <unistd.h> -#else -# include <io.h> -#endif - #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index d8b5888e92b..c3a8784b6d3 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -29,12 +29,6 @@ * \ingroup edtransform */ - -#ifndef WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif #include <string.h> #include <math.h> diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 711e73a249c..f94fec341c5 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -35,12 +35,6 @@ #include <math.h> #include <float.h> -#ifndef WIN32 -#include <unistd.h> -#else -#include <io.h> -#endif - #include "DNA_armature_types.h" #include "DNA_curve_types.h" #include "DNA_lattice_types.h" |