Code cleanup: remove file handling headers where they arent needed
authorCampbell Barton <ideasman42@gmail.com>
Thu, 1 May 2014 19:36:21 +0000 (05:36 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 1 May 2014 19:37:11 +0000 (05:37 +1000)
13 files changed:
source/blender/blenkernel/intern/scene.c
source/blender/editors/curve/editfont.c
source/blender/editors/interface/interface_icons.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_graph/graph_draw.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/space_text/text_header.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_constraints.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_manipulator.c

index b343f5e6091aac9ac0cb2103c68337df57eb1a3e..1e7b0d343bab6f4a83de5fbd076ec68f4e500422 100644 (file)
 #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"
index eec728bac7a2f7533d70fa27e7a697441cd8cf98..5c448effcd5c1b7ffe65ee145a54e04b8368345c 100644 (file)
 #include <wchar.h>
 #include <errno.h>
 
-#ifndef WIN32 
-#  include <unistd.h>
-#else
-#  include <io.h>
-#endif
-
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
index f951b16d668ee30d6969643a9afa138bec4c2746..546b2b85af56c724e5aa916e53132faac4140005 100644 (file)
  *  \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"
index 7a415c8c5cd3de1aa9fcf1c65f8ebfbc4c8b16d6..e8371d7666bd04b600908f788c2425d572938166 100644 (file)
@@ -45,7 +45,6 @@
 #  include <unistd.h>
 #  include <sys/times.h>
 #  include <dirent.h>
-#  include <unistd.h>
 #endif
 
 #include "DNA_space_types.h"
index 447e0cd3537c3f78f46c2d3ca46cf9bbdd070ebf..83f87ebc1741bfa646a31f37103b3dc2a300ec0f 100644 (file)
 #include <string.h>
 #include <float.h>
 
-#ifndef _WIN32
-#include <unistd.h>
-#else
-#include <io.h>
-#endif
-
-
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 
index 4ade067827a747dca8801a076a9e2bd3fea35219..edae81a9165d2da63056ff7aba5da17af591db57 100644 (file)
  *  \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"
index af1a23d39bb0a9e911174fa9b10ccc66fb5614e3..50efa881b39de65dfe14656b1df22931ceed1608 100644 (file)
 #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"
index 7d7a81a7bffccc69ea4d3dec375b5dc906719b6c..9826ef10902b75da981cdc9d42fbac15f21b2c72 100644 (file)
 #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"
 
index aaeea40c1a5fef1ce471fb44dbc14b34fac01e0f..b1d57f5a75ed7cea9575fc3678f2713b958e0275 100644 (file)
  *  \ingroup sptext
  */
 
-
-
-/* file time checking */
-
-#ifndef _WIN32
-#else
-#endif
-
 #include "DNA_windowmanager_types.h"
 
 #include "MEM_guardedalloc.h"
 
 #include "WM_types.h"
 
-#ifdef WITH_PYTHON
-// XXX #include "BPY_menus.h"
-#endif
-
 #include "text_intern.h"
 
 /* ************************ header area region *********************** */
index 2cd8b2011a88fec45f9b6f674f595b6d051961de..7cdc329cdc62c1150b75bbf62c077f28fbc85ae7 100644 (file)
 #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"
index 749c45e316b6084c2b8de167ede5a10981421ac8..79f266df6078b3eae314a1c4f6bc2f86d4a38756 100644 (file)
 #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"
index d8b5888e92b2c164783c160d088747144bcb4e74..c3a8784b6d3313bc0a42f5e5524d8aa2d6f08a8e 100644 (file)
  *  \ingroup edtransform
  */
 
-
-#ifndef WIN32
-#include <unistd.h>
-#else
-#include <io.h>
-#endif
 #include <string.h>
 #include <math.h>
 
index 711e73a249c9a8e2ec9951ad072cd54c429efc7e..f94fec341c57c475f0381e01b15b877ccb149241 100644 (file)
 #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"