diff options
Diffstat (limited to 'converter/other/pamtosvg')
-rw-r--r-- | converter/other/pamtosvg/pxl-outline.c | 2 | ||||
-rw-r--r-- | converter/other/pamtosvg/vector.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/converter/other/pamtosvg/pxl-outline.c b/converter/other/pamtosvg/pxl-outline.c index 456f41e1..19451c04 100644 --- a/converter/other/pamtosvg/pxl-outline.c +++ b/converter/other/pamtosvg/pxl-outline.c @@ -206,10 +206,8 @@ next_unmarked_pixel(unsigned int * const row, direction_type const orig_dir = *dir; direction_type test_dir; - pixel color; test_dir = *dir; /* initial value */ - color = getBitmapColor(bitmap, *row, *col); do { if (is_valid_dir(orig_row, orig_col, test_dir, bitmap, *marked)) { diff --git a/converter/other/pamtosvg/vector.c b/converter/other/pamtosvg/vector.c index 0a5ef3a9..771e5f27 100644 --- a/converter/other/pamtosvg/vector.c +++ b/converter/other/pamtosvg/vector.c @@ -1,6 +1,6 @@ /* vector.c: vector/point operations. */ -#define _XOPEN_SOURCE /* Make sure M_PI is in <math.h> */ +#define _XOPEN_SOURCE 500 /* get M_PI in math.h */ #include <math.h> #include <errno.h> #include <assert.h> |