summaryrefslogtreecommitdiffstats
path: root/src/live_effects/spiro.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 15:11:19 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-20 09:51:42 +0000
commitaf7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch)
tree1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/live_effects/spiro.cpp
parentReplace functions with methods in SPColor. (diff)
downloadinkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.tar.gz
inkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.zip
Replace typedef struct with struct in POD type declarations.
Diffstat (limited to 'src/live_effects/spiro.cpp')
-rw-r--r--src/live_effects/spiro.cpp4
1 files changed, 2 insertions, 2 deletions
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 */