From 12b529b3a675ea69408c5eea84d2329ef156d407 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 Mar 2021 17:17:19 +1100 Subject: Cleanup: redundant struct declarations --- source/blender/blenkernel/BKE_cryptomatte.h | 2 -- source/blender/blenkernel/BKE_volume_to_mesh.hh | 1 - source/blender/compositor/intern/COM_MetaData.h | 1 - source/blender/editors/include/ED_anim_api.h | 1 - source/blender/editors/include/ED_screen.h | 1 - source/blender/editors/space_node/node_intern.h | 2 -- source/blender/imbuf/intern/IMB_colormanagement_intern.h | 1 - source/blender/sequencer/SEQ_add.h | 1 - 8 files changed, 10 deletions(-) diff --git a/source/blender/blenkernel/BKE_cryptomatte.h b/source/blender/blenkernel/BKE_cryptomatte.h index 96e853e7ff8..7d295929e77 100644 --- a/source/blender/blenkernel/BKE_cryptomatte.h +++ b/source/blender/blenkernel/BKE_cryptomatte.h @@ -31,8 +31,6 @@ extern "C" { #endif struct CryptomatteSession; -struct ID; -struct Main; struct Material; struct Object; struct RenderResult; diff --git a/source/blender/blenkernel/BKE_volume_to_mesh.hh b/source/blender/blenkernel/BKE_volume_to_mesh.hh index 1ec8a8e84cd..1f6e89636c4 100644 --- a/source/blender/blenkernel/BKE_volume_to_mesh.hh +++ b/source/blender/blenkernel/BKE_volume_to_mesh.hh @@ -21,7 +21,6 @@ #endif struct Mesh; -struct VolumeGrid; namespace blender::bke { diff --git a/source/blender/compositor/intern/COM_MetaData.h b/source/blender/compositor/intern/COM_MetaData.h index 6fdd8d3945e..fa3de895b4e 100644 --- a/source/blender/compositor/intern/COM_MetaData.h +++ b/source/blender/compositor/intern/COM_MetaData.h @@ -27,7 +27,6 @@ /* Forward declarations. */ struct RenderResult; -struct StampData; /* Cryptomatte includes hash in its meta data keys. The hash is generated from the render * layer/pass name. Compositing happens without the knowledge of the original layer and pass. The diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index 2415c85e299..4b440aa7367 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -55,7 +55,6 @@ struct FModifier; struct bAction; struct uiBlock; -struct uiLayout; struct PointerRNA; struct PropertyRNA; diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 61e1f0fdf7d..b3205acb8ee 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -52,7 +52,6 @@ struct rcti; struct uiBlock; struct uiLayout; struct wmKeyConfig; -struct wmMsgBus; struct wmMsgSubscribeKey; struct wmMsgSubscribeValue; struct wmNotifier; diff --git a/source/blender/editors/space_node/node_intern.h b/source/blender/editors/space_node/node_intern.h index 4ec8f56480e..19700b258ae 100644 --- a/source/blender/editors/space_node/node_intern.h +++ b/source/blender/editors/space_node/node_intern.h @@ -38,11 +38,9 @@ struct bContext; struct bNode; struct bNodeLink; struct bNodeSocket; -struct uiBut; struct wmGizmoGroupType; struct wmKeyConfig; struct wmWindow; -struct uiBlock; #ifdef __cplusplus extern "C" { diff --git a/source/blender/imbuf/intern/IMB_colormanagement_intern.h b/source/blender/imbuf/intern/IMB_colormanagement_intern.h index 31dca888732..89e648a7d6a 100644 --- a/source/blender/imbuf/intern/IMB_colormanagement_intern.h +++ b/source/blender/imbuf/intern/IMB_colormanagement_intern.h @@ -32,7 +32,6 @@ extern "C" { struct ImBuf; struct OCIO_ConstCPUProcessorRcPtr; -struct OCIO_ConstProcessorRcPtr; extern float imbuf_luma_coefficients[3]; extern float imbuf_xyz_to_rgb[3][3]; diff --git a/source/blender/sequencer/SEQ_add.h b/source/blender/sequencer/SEQ_add.h index e262d7ed1ef..7d728b25a30 100644 --- a/source/blender/sequencer/SEQ_add.h +++ b/source/blender/sequencer/SEQ_add.h @@ -30,7 +30,6 @@ extern "C" { struct ListBase; struct Scene; struct Sequence; -struct bContext; /* SeqLoadData.flags */ typedef enum eSeqLoadFlags { -- cgit v1.2.3