diff options
-rw-r--r-- | lib/libppmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libppmd.c b/lib/libppmd.c index 2a998947..d6f08b37 100644 --- a/lib/libppmd.c +++ b/lib/libppmd.c @@ -1191,12 +1191,12 @@ ppmd_fill_drawproc(pixel** const pixels, #ifndef LITERAL_FN_DEF_MATCH -static qsort_comparison_fn yx_compare; +static qsort_comparison_fn yxCompare; #endif static int -yx_compare(const void * const c1Arg, - const void * const c2Arg) { +yxCompare(const void * const c1Arg, + const void * const c2Arg) { const coord * const c1P = c1Arg; const coord * const c2P = c2Arg; @@ -1258,7 +1258,7 @@ ppmd_fill(pixel ** const pixels, ppmd_setlineclip(oldclip); /* Sort the coords by Y, secondarily by X. */ - qsort((char*) fh->coords, fh->n, sizeof(coord), yx_compare); + qsort((char*) fh->coords, fh->n, sizeof(coord), yxCompare); /* Find equal coords with different edge numbers, and swap if necessary. */ edge = -1; |