From: Pasi Kallinen Date: Mon, 6 Nov 2017 13:28:13 +0000 (+0200) Subject: Fix a warning X-Git-Tag: NetHack-3.6.1_RC01~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2f767e1feb3a0f06ea66c24ca8e92ee897734a3;p=nethack Fix a warning --- diff --git a/src/do_name.c b/src/do_name.c index 38b90fc45..6e3bfd981 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -40,12 +40,12 @@ static void FDECL((*getpos_hilitefunc), (int)) = (void FDECL((*), (int))) 0; static boolean FDECL((*getpos_getvalid), (int,int)) = (boolean FDECL((*), (int,int))) 0; void -getpos_sethilite(f, d) -void FDECL((*f), (int)); -boolean FDECL((*d), (int,int)); +getpos_sethilite(gp_hilitef, gp_getvalidf) +void FDECL((*gp_hilitef), (int)); +boolean FDECL((*gp_getvalidf), (int,int)); { - getpos_hilitefunc = f; - getpos_getvalid = d; + getpos_hilitefunc = gp_hilitef; + getpos_getvalid = gp_getvalidf; } const char *const gloc_descr[NUM_GLOCS][4] = {