summaryrefslogtreecommitdiffstats
path: root/src/trace
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/trace
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/trace')
-rw-r--r--src/trace/imagemap.h4
-rw-r--r--src/trace/potrace/inkscape-potrace.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/trace/imagemap.h b/src/trace/imagemap.h
index 7aa7e739d..d99517757 100644
--- a/src/trace/imagemap.h
+++ b/src/trace/imagemap.h
@@ -187,12 +187,12 @@ PackedPixelMap *PackedPixelMapCreate(int width, int height);
### R G B M A P
#########################################################################*/
-typedef struct
+struct RGB
{
unsigned char r;
unsigned char g;
unsigned char b;
-} RGB;
+};
diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp
index 86658653a..ac26edcd4 100644
--- a/src/trace/potrace/inkscape-potrace.cpp
+++ b/src/trace/potrace/inkscape-potrace.cpp
@@ -105,11 +105,11 @@ PotraceTracingEngine::~PotraceTracingEngine()
-typedef struct
+struct Point
{
double x;
double y;
-} Point;
+};
/**