From 8c2c49ff9f992e1d7f507118fdeb7be86975346f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 13 Apr 2021 21:43:07 +1000 Subject: Cleanup: redundant struct declarations --- source/blender/blenkernel/BKE_curve.h | 1 - source/blender/editors/io/io_gpencil.h | 1 - source/blender/editors/space_spreadsheet/spreadsheet_draw.hh | 1 - source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h | 1 - source/blender/makesdna/DNA_lineart_types.h | 3 --- source/blender/windowmanager/wm.h | 1 - 6 files changed, 8 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 59922bf934c..21f362c8c7e 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -40,7 +40,6 @@ struct MDeformVert; struct Main; struct Nurb; struct Object; -struct Path; struct TextBox; struct rctf; diff --git a/source/blender/editors/io/io_gpencil.h b/source/blender/editors/io/io_gpencil.h index 98cb8b13310..b347be00412 100644 --- a/source/blender/editors/io/io_gpencil.h +++ b/source/blender/editors/io/io_gpencil.h @@ -27,7 +27,6 @@ struct ARegion; struct bContext; struct View3D; -struct wmOperator; struct wmOperatorType; void WM_OT_gpencil_import_svg(struct wmOperatorType *ot); diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh b/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh index 6828006f4a1..647587ec8b0 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh +++ b/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh @@ -19,7 +19,6 @@ #include "BLI_vector.hh" struct uiBlock; -struct rcti; struct bContext; struct ARegion; diff --git a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h index 85cfd1fbcbf..56cd7fa1456 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h +++ b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h @@ -543,7 +543,6 @@ LineartBoundingArea *MOD_lineart_get_bounding_area(LineartRenderBuffer *rb, doub struct bGPDlayer; struct bGPDframe; -struct GpencilModifierData; void MOD_lineart_gpencil_generate(LineartRenderBuffer *rb, struct Depsgraph *depsgraph, diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h index 31e221b74a0..860a6579bf7 100644 --- a/source/blender/makesdna/DNA_lineart_types.h +++ b/source/blender/makesdna/DNA_lineart_types.h @@ -35,9 +35,6 @@ #include "DNA_ID.h" #include "DNA_listBase.h" -struct Object; -struct Material; - /* Notice that we need to have this file although no struct defines. * Edge flags and usage flags are used by with scene/object/gpencil modifier bits, and those values * needs to stay consistent throughout. */ diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h index 7fddf60eb97..af696ddd8f9 100644 --- a/source/blender/windowmanager/wm.h +++ b/source/blender/windowmanager/wm.h @@ -23,7 +23,6 @@ #pragma once -struct ReportList; struct wmWindow; #include "gizmo/wm_gizmo_wmapi.h" -- cgit v1.2.3