diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
| commit | d463240d8fd961d45b47ba96e0d93c37e1719da7 (patch) | |
| tree | 25be35855525cba941ff28f0d1ea7684dc1a258c /src/libavoid/orthogonal.cpp | |
| parent | Fix for #970355, radial gradient using object bounding box. (diff) | |
| download | inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.tar.gz inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.zip | |
code cleanup: quiet warnings with gcc.
(bzr r11888)
Diffstat (limited to 'src/libavoid/orthogonal.cpp')
| -rw-r--r-- | src/libavoid/orthogonal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libavoid/orthogonal.cpp b/src/libavoid/orthogonal.cpp index e0a30b246..772fc9668 100644 --- a/src/libavoid/orthogonal.cpp +++ b/src/libavoid/orthogonal.cpp @@ -204,7 +204,7 @@ class ShiftSegment }; typedef std::list<ShiftSegment> ShiftSegmentList; -bool cmpShiftSegment(const ShiftSegment& u, const ShiftSegment& v) +static bool cmpShiftSegment(const ShiftSegment& u, const ShiftSegment& v) { return u < v; } @@ -488,7 +488,7 @@ Event **events; // Used for quicksort. Must return <0, 0, or >0. -int compare_events(const void *a, const void *b) +static int compare_events(const void *a, const void *b) { Event *ea = *(Event**) a; Event *eb = *(Event**) b; |
