summaryrefslogtreecommitdiff
path: root/src/cairo_traps.c
diff options
context:
space:
mode:
authorRichard Worth <richard@theworths.org>2004-01-22 20:47:24 +0000
committerRichard Worth <richard@theworths.org>2004-01-22 20:47:24 +0000
commit5c490d216050fc5261811805d81dc5de98004794 (patch)
tree80a7f23f8e2cd08371ca9683c909b9378f052f71 /src/cairo_traps.c
parent22792e2e7a118c7ef97f89617a5932e412453fe4 (diff)
Add '-no-undefined' to end of libcairo_la_LDFLAGS to enable building shared library under cygwin.
Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin. Changed type of _line_segs_intersect_ceil from 'static cairo_fixed_t' to 'static int' to match definition. This was necessary to compile under cygwin.
Diffstat (limited to 'src/cairo_traps.c')
-rw-r--r--src/cairo_traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo_traps.c b/src/cairo_traps.c
index 63df3ea45..2face9e52 100644
--- a/src/cairo_traps.c
+++ b/src/cairo_traps.c
@@ -58,7 +58,7 @@ _compute_inverse_slope (cairo_line_t *l);
static double
_compute_x_intercept (cairo_line_t *l, double inverse_slope);
-static cairo_fixed_t
+static int
_line_segs_intersect_ceil (cairo_line_t *left, cairo_line_t *right, cairo_fixed_t *y_ret);
void