]> granicus.if.org Git - nethack/commitdiff
follow-up bit for QSORTCALLBACK entries
authornhmall <nhmall@nethack.org>
Sun, 31 Jan 2021 19:06:56 +0000 (14:06 -0500)
committernhmall <nhmall@nethack.org>
Sun, 31 Jan 2021 19:06:56 +0000 (14:06 -0500)
src/do_name.c

index d2e334fa582d180b98f6fa9ed343e7de8f6fe746..d7e2597c9a34acf71a09c9106307ef5470216a98 100644 (file)
@@ -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;