diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 13:49:11 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 13:49:11 +0200 |
commit | 94e774a8bd2891f36885ae710efd42caebd855ed (patch) | |
tree | 883147e1bf5dc8feba5d142b8ffcde8e7e0676f6 /xps/xps_path.c | |
parent | a1b5f023ccebd339e9a74ef7f3bcc94c0c74d3e0 (diff) | |
download | mupdf-94e774a8bd2891f36885ae710efd42caebd855ed.tar.xz |
Remove inline keyword where it is not strictly necessary for performance.
Also put the function on the same line for inline functions, so
they stick out and are easy to find with grep.
Diffstat (limited to 'xps/xps_path.c')
-rw-r--r-- | xps/xps_path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/xps_path.c b/xps/xps_path.c index 3e76787b..547deed8 100644 --- a/xps/xps_path.c +++ b/xps/xps_path.c @@ -40,7 +40,7 @@ fz_currentpoint(fz_path *path) * circular arcs, we need to transform the line to make them elliptical but * without transforming the line width. */ -static inline void +static void xps_draw_arc_segment(fz_path *path, fz_matrix mtx, float th0, float th1, int iscw) { float t, d; @@ -91,7 +91,7 @@ xps_draw_arc_segment(fz_path *path, fz_matrix mtx, float th0, float th1, int isc } /* Given two vectors find the angle between them. */ -static inline float +static float angle_between(const fz_point u, const fz_point v) { float det = u.x * v.y - u.y * v.x; |