From: nhmall Date: Sun, 31 Jan 2021 19:06:56 +0000 (-0500) Subject: follow-up bit for QSORTCALLBACK entries X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec6a3f34104fc95949122a9541a05b132c9fbb0;p=nethack follow-up bit for QSORTCALLBACK entries --- diff --git a/src/do_name.c b/src/do_name.c index d2e334fa5..d7e2597c9 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -8,7 +8,7 @@ static char *nextmbuf(void); static void getpos_help_keyxhelp(winid, const char *, const char *, int); static void getpos_help(boolean, const char *); -static int cmp_coord_distu(const void *, const void *); +static int QSORTCALLBACK cmp_coord_distu(const void *, const void *); static int gloc_filter_classify_glyph(int); static int gloc_filter_floodfill_matcharea(int, int); static void gloc_filter_floodfill(int, int); @@ -225,7 +225,7 @@ getpos_help(boolean force, const char *goal) destroy_nhwindow(tmpwin); } -static int +static int QSORTCALLBACK cmp_coord_distu(const void *a, const void *b) { const coord *c1 = a;