From af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Jun 2018 17:11:19 +0200 Subject: Replace typedef struct with struct in POD type declarations. --- src/live_effects/spiro.cpp | 4 ++-- src/live_effects/spiro.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/live_effects') diff --git a/src/live_effects/spiro.cpp b/src/live_effects/spiro.cpp index c0e314a69..008e2ad6a 100644 --- a/src/live_effects/spiro.cpp +++ b/src/live_effects/spiro.cpp @@ -66,10 +66,10 @@ struct spiro_seg_s { double l; }; -typedef struct { +struct bandmat { double a[11]; /* band-diagonal matrix */ double al[5]; /* lower part of band-diagonal decomposition */ -} bandmat; +}; #ifndef M_PI #define M_PI 3.14159265358979323846 /* pi */ diff --git a/src/live_effects/spiro.h b/src/live_effects/spiro.h index 066b44ca8..3afa06941 100644 --- a/src/live_effects/spiro.h +++ b/src/live_effects/spiro.h @@ -31,11 +31,11 @@ class SPCurve; namespace Spiro { -typedef struct { +struct spiro_cp { double x; double y; char ty; -} spiro_cp; +}; void spiro_run(const spiro_cp *src, int src_len, SPCurve &curve); -- cgit v1.2.3