Fix redundant declarations after recent changes in GPU debug
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 16 Aug 2016 12:40:23 +0000 (14:40 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 16 Aug 2016 12:40:23 +0000 (14:40 +0200)
source/blender/blenlib/BLI_system.h
source/blender/blenlib/intern/system.c
source/blender/gpu/GPU_debug.h
source/blender/gpu/intern/gpu_debug.c

index 92403eb7dea9340e15688c01d69ff587fab63645..938a12dcdcfbf4d864d70d85fd4d609e306a3d4e 100644 (file)
 
 int BLI_cpu_support_sse2(void);
 
-#if defined(NDEBUG) || !defined(__BLI_UTILDEFINES_H__)
-#include <stdio.h>
-void BLI_system_backtrace(FILE *fp);
-#endif
-
 /* getpid */
 #ifdef WIN32
 #  define BLI_SYSTEM_PID_H <process.h>
index 5d1bdd6d9786e38cba5f5d486c3e2d7f30f71377..898075e651e3d98ef2708b1f08861ab37ef42ec7 100644 (file)
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "BLI_utildefines.h"
 #include "BLI_system.h"
 
 #include "MEM_guardedalloc.h"
index ec0db43c38cb851c3dc1eae5fcd91e06a2e68cad..61b2bc591ce778b1de1f618327a957c5dabade58 100644 (file)
@@ -34,8 +34,6 @@
 
 #include "GPU_glew.h"
 
-#include "BLI_utildefines.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 5ed51247858d8251a5eab929ffefd499d43db9ea..d632e767ca955c464a5310989e1bfffb3b052ba2 100644 (file)
@@ -29,6 +29,7 @@
  *  \ingroup gpu
  */
 
+#include "BLI_utildefines.h"
 #include "BLI_sys_types.h"
 #include "BLI_system.h"