[Bf-blender-cvs] [bbe6b661df0] master: Cleanup: console/info headers

Campbell Barton noreply at git.blender.org
Fri Feb 14 05:06:44 CET 2020


Commit: bbe6b661df08bbd0c73a2b89bffe4525667aab9b
Author: Campbell Barton
Date:   Fri Feb 14 15:06:03 2020 +1100
Branches: master
https://developer.blender.org/rBbbe6b661df08bbd0c73a2b89bffe4525667aab9b

Cleanup: console/info headers

===================================================================

M	source/blender/editors/space_console/console_draw.c
M	source/blender/editors/space_info/info_draw.c
M	source/blender/editors/space_info/textview.c

===================================================================

diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c
index b669702c4f5..af01ec72ec2 100644
--- a/source/blender/editors/space_console/console_draw.c
+++ b/source/blender/editors/space_console/console_draw.c
@@ -18,11 +18,7 @@
  * \ingroup spconsole
  */
 
-#include <math.h>
-#include <stdlib.h>
 #include <string.h>
-#include <sys/stat.h>
-#include <limits.h>
 
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c
index 1c56e17054b..6d652610b3b 100644
--- a/source/blender/editors/space_info/info_draw.c
+++ b/source/blender/editors/space_info/info_draw.c
@@ -21,10 +21,7 @@
  * \ingroup spinfo
  */
 
-#include <math.h>
-#include <stdlib.h>
 #include <string.h>
-#include <sys/stat.h>
 #include <limits.h>
 
 #include "BLI_utildefines.h"
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c
index 12b0f106f97..6678ac2b659 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -18,12 +18,6 @@
  * \ingroup spinfo
  */
 
-#include <math.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <limits.h>
-#include <assert.h>
-
 #include "MEM_guardedalloc.h"
 
 #include "BLF_api.h"
@@ -35,7 +29,8 @@
 #include "GPU_immediate.h"
 #include "GPU_state.h"
 
-#include "BKE_report.h"
+#include "DNA_userdef_types.h" /* For 'U.dpi_fac' */
+
 #include "UI_interface.h"
 #include "UI_interface_icons.h"



More information about the Bf-blender-cvs mailing list