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:
authorDalai Felinto <dalai@blender.org>2020-03-19 11:33:03 +0300
committerDalai Felinto <dalai@blender.org>2020-03-19 11:33:58 +0300
commit2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153 (patch)
treeec50d7bdca3901a6afcc986943011f08f9516307 /source/blender/editors/space_file
parent008aaaa37841ca27d2bba80d8859336655cef455 (diff)
Cleanup: `make format` after SortedIncludes change
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/file_draw.c4
-rw-r--r--source/blender/editors/space_file/file_ops.c8
-rw-r--r--source/blender/editors/space_file/file_utils.c4
-rw-r--r--source/blender/editors/space_file/filelist.c6
-rw-r--r--source/blender/editors/space_file/filesel.c16
-rw-r--r--source/blender/editors/space_file/fsmenu.c14
-rw-r--r--source/blender/editors/space_file/space_file.c14
7 files changed, 33 insertions, 33 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index d7682a41570..5f5aced292d 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -21,14 +21,14 @@
* \ingroup spfile
*/
+#include <errno.h>
#include <math.h>
#include <string.h>
-#include <errno.h>
#include "BLI_blenlib.h"
#include "BLI_fileops_types.h"
-#include "BLI_utildefines.h"
#include "BLI_math.h"
+#include "BLI_utildefines.h"
#ifdef WIN32
# include "BLI_winstuff.h"
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index 169abfb9a10..c17ca31a7df 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -40,8 +40,8 @@
# include "BLI_winstuff.h"
#endif
-#include "ED_screen.h"
#include "ED_fileselect.h"
+#include "ED_screen.h"
#include "ED_select_utils.h"
#include "UI_interface.h"
@@ -62,11 +62,11 @@
#include "filelist.h"
#include "fsmenu.h"
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
#include <ctype.h>
#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
/* ---------- FILE SELECTION ------------ */
static FileSelection find_file_mouse_rect(SpaceFile *sfile,
diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c
index 61ddd7d63f2..452f2f704cf 100644
--- a/source/blender/editors/space_file/file_utils.c
+++ b/source/blender/editors/space_file/file_utils.c
@@ -18,15 +18,15 @@
* \ingroup spfile
*/
-#include "BLI_rect.h"
#include "BLI_listbase.h"
+#include "BLI_rect.h"
#include "BLO_readfile.h"
#include "BKE_context.h"
-#include "ED_screen.h"
#include "ED_fileselect.h"
+#include "ED_screen.h"
#include "WM_types.h"
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 1fc0866bd9f..6bbe54e2f5c 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -23,8 +23,8 @@
/* global includes */
-#include <stdlib.h>
#include <math.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
@@ -32,8 +32,8 @@
#ifndef WIN32
# include <unistd.h>
#else
-# include <io.h>
# include <direct.h>
+# include <io.h>
#endif
#include "MEM_guardedalloc.h"
@@ -75,8 +75,8 @@
#include "WM_api.h"
#include "WM_types.h"
-#include "UI_resources.h"
#include "UI_interface_icons.h"
+#include "UI_resources.h"
#include "atomic_ops.h"
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c
index 6c0f79f0f5c..67c0fae3565 100644
--- a/source/blender/editors/space_file/filesel.c
+++ b/source/blender/editors/space_file/filesel.c
@@ -21,33 +21,33 @@
* \ingroup spfile
*/
-#include <string.h>
-#include <stdio.h>
#include <math.h>
+#include <stdio.h>
+#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
/* path/file handling stuff */
#ifdef WIN32
-# include <io.h>
-# include <direct.h>
# include "BLI_winstuff.h"
+# include <direct.h>
+# include <io.h>
#else
-# include <unistd.h>
-# include <sys/times.h>
# include <dirent.h>
+# include <sys/times.h>
+# include <unistd.h>
#endif
-#include "DNA_space_types.h"
#include "DNA_screen_types.h"
+#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
-#include "BLI_utildefines.h"
#include "BLI_fnmatch.h"
+#include "BLI_utildefines.h"
#include "BLO_readfile.h"
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index 4f3fc997074..08b800df7dd 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -21,16 +21,16 @@
* \ingroup spfile
*/
+#include <math.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
-#include <math.h>
#include "MEM_guardedalloc.h"
-#include "BLI_utildefines.h"
#include "BLI_blenlib.h"
#include "BLI_ghash.h"
+#include "BLI_utildefines.h"
#include "BLT_translation.h"
@@ -43,22 +43,22 @@
# include <windows.h>
/* For SHGetSpecialFolderPath, has to be done before BLI_winstuff
* because 'near' is disabled through BLI_windstuff. */
-# include <shlobj.h>
# include "BLI_winstuff.h"
+# include <shlobj.h>
#endif
-#include "WM_api.h"
-#include "WM_types.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
+#include "WM_api.h"
+#include "WM_types.h"
#ifdef __APPLE__
# include <Carbon/Carbon.h>
#endif /* __APPLE__ */
#ifdef __linux__
-# include <mntent.h>
# include "BLI_fileops_types.h"
+# include <mntent.h>
#endif
#include "fsmenu.h" /* include ourselves */
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 50ee64da9c8..c3159d38e7e 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -21,8 +21,8 @@
* \ingroup spfile
*/
-#include <string.h>
#include <stdio.h>
+#include <string.h>
#include "MEM_guardedalloc.h"
@@ -31,18 +31,18 @@
#include "BKE_appdir.h"
#include "BKE_context.h"
-#include "BKE_screen.h"
#include "BKE_global.h"
+#include "BKE_screen.h"
#include "RNA_access.h"
#include "WM_api.h"
-#include "WM_types.h"
#include "WM_message.h"
+#include "WM_types.h"
-#include "ED_space_api.h"
-#include "ED_screen.h"
#include "ED_fileselect.h"
+#include "ED_screen.h"
+#include "ED_space_api.h"
#include "IMB_imbuf_types.h"
#include "IMB_thumbs.h"
@@ -50,10 +50,10 @@
#include "UI_resources.h"
#include "UI_view2d.h"
+#include "GPU_framebuffer.h"
#include "file_intern.h" // own include
-#include "fsmenu.h"
#include "filelist.h"
-#include "GPU_framebuffer.h"
+#include "fsmenu.h"
static ARegion *file_execute_region_ensure(ScrArea *sa, ARegion *ar_prev)
{