Cleanup: remove unnecessary includes

This commit is contained in:
Jacques Lucke 2020-04-28 18:08:00 +02:00
parent 67bd6bbcdd
commit c1e6865ee3
23 changed files with 2 additions and 24 deletions

View File

@ -24,6 +24,8 @@
* \ingroup bli
*/
#include "BLI_utildefines.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -31,7 +31,6 @@
#include "DNA_layer_types.h"
#include "DNA_object_types.h"
#include "BLI_ghash.h"
#include "BLI_stack.h"
#include "BLI_utildefines.h"

View File

@ -37,7 +37,6 @@ struct Collection;
struct FCurve;
struct FreestyleLineSet;
struct FreestyleLineStyle;
struct GHash;
struct ID;
struct IDProperty;
struct Image;

View File

@ -26,7 +26,6 @@
#include <stdio.h>
#include <string.h>
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
namespace DEG {

View File

@ -27,7 +27,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"

View File

@ -26,7 +26,6 @@
#include "intern/node/deg_node.h"
#include "intern/node/deg_node_operation.h"
struct GHash;
struct ID;
struct PointerRNA;
struct PropertyRNA;

View File

@ -25,7 +25,6 @@
#include <cstdarg>
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
extern "C" {

View File

@ -31,7 +31,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_console.h"
#include "BLI_ghash.h"
#include "BLI_hash.h"
#include "BLI_utildefines.h"

View File

@ -43,8 +43,6 @@
#include "intern/debug/deg_debug.h"
#include "intern/depsgraph_type.h"
struct GHash;
struct GSet;
struct ID;
struct Scene;
struct ViewLayer;

View File

@ -25,7 +25,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"

View File

@ -23,7 +23,6 @@
* Implementation of tools for debugging the depsgraph
*/
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
extern "C" {

View File

@ -25,7 +25,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"

View File

@ -28,7 +28,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_compiler_compat.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
extern "C" {

View File

@ -28,7 +28,6 @@
extern "C" {
#include <string.h> // XXX: memcpy
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"

View File

@ -25,7 +25,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
#include "DNA_object_types.h"

View File

@ -25,7 +25,6 @@
#include <cstdlib> // for BLI_assert()
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
#include "DNA_customdata_types.h"

View File

@ -38,7 +38,6 @@
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "BLI_map.hh"
@ -65,7 +64,6 @@ using std::pair;
using std::set;
using std::string;
using std::unique_ptr;
using std::unordered_map;
using std::vector;
/* Commonly used functions. */

View File

@ -28,7 +28,6 @@
#include "PIL_time.h"
#include "BLI_compiler_attrs.h"
#include "BLI_ghash.h"
#include "BLI_gsqueue.h"
#include "BLI_task.h"
#include "BLI_utildefines.h"

View File

@ -27,7 +27,6 @@
#include <cmath>
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.h"
#include "BLI_task.h"

View File

@ -23,7 +23,6 @@
#include "intern/eval/deg_eval_stats.h"
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
#include "intern/depsgraph.h"

View File

@ -26,7 +26,6 @@
#include <cstring> /* required for STREQ later on. */
#include <stdio.h>
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
extern "C" {

View File

@ -26,7 +26,6 @@
#include <cstring> /* required for STREQ later on. */
#include <stdio.h>
#include "BLI_ghash.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"

View File

@ -25,7 +25,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_utildefines.h"
#include "intern/depsgraph.h"